Fix login response not being handled due to not being JSON
This commit is contained in:
parent
bcfe3d258d
commit
4c5bfa5285
|
@ -40,6 +40,7 @@ export const buildAuthEndpoints = (API: BaseAPIClient): AuthEndpoints => ({
|
|||
username,
|
||||
password,
|
||||
},
|
||||
parseResponse: () => undefined,
|
||||
})
|
||||
},
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import {
|
||||
AcceptUserInviteRequest,
|
||||
AcceptUserInviteResponse,
|
||||
AccountMetadata,
|
||||
BulkUserCreated,
|
||||
BulkUserDeleted,
|
||||
BulkUserRequest,
|
||||
|
@ -11,6 +10,7 @@ import {
|
|||
DeleteInviteUsersRequest,
|
||||
InviteUsersRequest,
|
||||
InviteUsersResponse,
|
||||
LookupAccountHolderResponse,
|
||||
SaveUserResponse,
|
||||
SearchUsersRequest,
|
||||
SearchUsersResponse,
|
||||
|
@ -55,7 +55,7 @@ export interface UserEndpoints {
|
|||
userId: string,
|
||||
appId: string
|
||||
) => Promise<{ message: string }>
|
||||
getAccountHolder: () => Promise<AccountMetadata | undefined>
|
||||
getAccountHolder: () => Promise<LookupAccountHolderResponse>
|
||||
searchUsers: (data: SearchUsersRequest) => Promise<SearchUsersResponse>
|
||||
createUsers: (
|
||||
users: User[],
|
||||
|
|
Loading…
Reference in New Issue