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
2024-05-29 17:13:01 +02:00
committed by GitHub
parent e5e5eb6e18
commit aeda24265d
14 changed files with 32 additions and 64 deletions
-1
View File
@@ -179,7 +179,6 @@ export class Admin {
) => {
return this.client.fetch<{
customer: HttpTypes.AdminCustomer
token: string
}>(`/admin/customers`, {
method: "POST",
headers,
-1
View File
@@ -349,7 +349,6 @@ export class Store {
) => {
return this.client.fetch<{
customer: HttpTypes.StoreCustomer
token: string
}>(`/store/customers`, {
method: "POST",
headers,