From b39a1467fe81af33adda1214d3d8e41f8d134b26 Mon Sep 17 00:00:00 2001 From: gfleury Date: Wed, 5 Jun 2019 10:37:10 +0200 Subject: [PATCH] Fixing Create() --- default_api.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/default_api.go b/default_api.go index a0e6a49..cc6d567 100644 --- a/default_api.go +++ b/default_api.go @@ -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