Fix CreateSSHKey

This commit is contained in:
Hugues Malphettes 2020-02-01 10:31:36 +08:00 committed by George Fleury
parent aaa21ab88c
commit 0f2067afb7

View File

@ -8453,7 +8453,9 @@ func (a *DefaultApiService) CreateSSHKey(localVarOptionals map[string]interface{
localVarQueryParams.Add("user", parameterToString(localVarTempParam, ""))
}
if localVarTempParam, localVarOk := localVarOptionals["text"].(string); localVarOk {
localVarFormParams.Add("text", parameterToString(localVarTempParam, ""))
localVarPostBody = map[string]interface{}{
"text": localVarTempParam,
}
}
// to determine the Content-Type header