Update get user info controller to avoid conflict with /count

This commit is contained in:
Alex Tran
2022-07-17 15:09:26 -05:00
parent c6ecfb679a
commit cbdb8fa51f
7 changed files with 9 additions and 7 deletions

View File

@@ -3623,7 +3623,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
getUserById: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'userId' is not null or undefined
assertParamExists('getUserById', 'userId', userId)
const localVarPath = `/user/{userId}`
const localVarPath = `/user/info/{userId}`
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);