diff --git a/default_api.go b/default_api.go index 21587a1..3fa1b39 100644 --- a/default_api.go +++ b/default_api.go @@ -2063,7 +2063,7 @@ func (a *DefaultApiService) DeleteWebhook(projectKey, repositorySlug string, web return NewAPIResponseWithError(localVarHTTPResponse, reportError("Status: %v, Body: %s", localVarHTTPResponse.Status, bodyBytes)) } - return NewBitbucketAPIResponse(localVarHTTPResponse) + return NewAPIResponse(localVarHTTPResponse), nil } /* DefaultApiService