chore: Move token from params to headers (#11281)
* chore: Move token from params to body * chore: Add type * wip * chore: clean up * clean ip
This commit is contained in:
@@ -62,7 +62,7 @@ export const useLogout = (options?: UseMutationOptions<void, FetchError>) => {
|
||||
|
||||
export const useUpdateProviderForEmailPass = (
|
||||
token: string,
|
||||
options?: UseMutationOptions<void, FetchError, { password: string }>
|
||||
options?: UseMutationOptions<void, FetchError, HttpTypes.AdminUpdateProvider>
|
||||
) => {
|
||||
return useMutation({
|
||||
mutationFn: (payload) =>
|
||||
|
||||
Reference in New Issue
Block a user