mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Update get user info controller to avoid conflict with /count
This commit is contained in:
parent
c6ecfb679a
commit
cbdb8fa51f
7 changed files with 9 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue