mirror of
https://github.com/gfleury/go-bitbucket-v1.git
synced 2025-07-17 19:10:58 -05:00
handle CreateUser
empty body response
This commit is contained in:

committed by
Danilo Gonçalves

parent
a1f7d4e0d6
commit
7758229a74
@ -1264,7 +1264,8 @@ func (a *DefaultApiService) CreateUser(localVarOptionals map[string]interface{})
|
||||
return NewAPIResponseWithError(localVarHTTPResponse, bodyBytes, reportError("Status: %v, Body: %s", localVarHTTPResponse.Status, bodyBytes))
|
||||
}
|
||||
|
||||
return NewBitbucketAPIResponse(localVarHTTPResponse)
|
||||
// No body parsing (a successful 204 response has no content)
|
||||
return NewAPIResponse(localVarHTTPResponse), nil
|
||||
}
|
||||
|
||||
/* DefaultApiService
|
||||
|
Reference in New Issue
Block a user