mirror of
https://github.com/gfleury/go-bitbucket-v1.git
synced 2025-04-04 17:00:12 -05:00
Fixing Create()
This commit is contained in:
parent
2efe893fff
commit
b39a1467fe
@ -602,16 +602,6 @@ func (a *DefaultApiService) Create(projectKey, repositorySlug string, localVarOp
|
||||
localVarQueryParams := url.Values{}
|
||||
localVarFormParams := url.Values{}
|
||||
|
||||
if err := typeCheckParameter(localVarOptionals["from"], "string", "from"); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := typeCheckParameter(localVarOptionals["to"], "string", "to"); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := typeCheckParameter(localVarOptionals["fromRepo"], "string", "fromRepo"); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
localVarPostBody, err := json.Marshal(localVarOptionals)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user