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

-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,