feat: Remove returning token from customer and user endpoints (#7523)

* chore: Move generateJwtToken to utils

* feat: Stop returning token on user and customer endpoints
This commit is contained in:
Stevche Radevski authored and GitHub committed 2024-05-29 17:13:01 +02:00
1 parent e5e5eb6e18
commit aeda24265d
14 files changed
+32 -64

No files matched your search

@@ -58,7 +58,7 @@ export const useCustomers = (
export const useCreateCustomer = (
options?: UseMutationOptions<
{ customer: HttpTypes.AdminCustomer; token: string },
{ customer: HttpTypes.AdminCustomer },
Error,
HttpTypes.AdminCreateCustomer
>