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:
Oli Juhl authored and GitHub committed 2025-02-26 17:41:16 +01:00
1 parent 4ec5219a72
commit 54a6ef91ac
7 files changed
+96 -75

No files matched your search

@@ -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) =>