mirror of
https://github.com/gfleury/go-bitbucket-v1.git
synced 2025-05-29 00:14:53 -05:00
Skip body parsing for RevokePermissionsForGroup
For the different variants the body parsing has to be skipped due to return code '204'.
This commit is contained in:
parent
e7592ef714
commit
abd53ff322
@ -8971,7 +8971,7 @@ func (a *DefaultApiService) RevokePermissionsForGroup(localVarOptionals map[stri
|
||||
return NewAPIResponseWithError(localVarHTTPResponse, reportError("Status: %v, Body: %s", localVarHTTPResponse.Status, bodyBytes))
|
||||
}
|
||||
|
||||
return NewBitbucketAPIResponse(localVarHTTPResponse)
|
||||
return NewAPIResponse(localVarHTTPResponse), nil
|
||||
}
|
||||
|
||||
/* DefaultApiService
|
||||
@ -9035,7 +9035,7 @@ func (a *DefaultApiService) RevokePermissionsForGroup_28(projectKey string, loca
|
||||
return NewAPIResponseWithError(localVarHTTPResponse, reportError("Status: %v, Body: %s", localVarHTTPResponse.Status, bodyBytes))
|
||||
}
|
||||
|
||||
return NewBitbucketAPIResponse(localVarHTTPResponse)
|
||||
return NewAPIResponse(localVarHTTPResponse), nil
|
||||
}
|
||||
|
||||
/* DefaultApiService
|
||||
@ -9100,7 +9100,7 @@ func (a *DefaultApiService) RevokePermissionsForGroup_29(projectKey, repositoryS
|
||||
return NewAPIResponseWithError(localVarHTTPResponse, reportError("Status: %v, Body: %s", localVarHTTPResponse.Status, bodyBytes))
|
||||
}
|
||||
|
||||
return NewBitbucketAPIResponse(localVarHTTPResponse)
|
||||
return NewAPIResponse(localVarHTTPResponse), nil
|
||||
}
|
||||
|
||||
/* DefaultApiService
|
||||
|
Loading…
x
Reference in New Issue
Block a user