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:
@@ -179,7 +179,6 @@ export class Admin {
|
||||
) => {
|
||||
return this.client.fetch<{
|
||||
customer: HttpTypes.AdminCustomer
|
||||
token: string
|
||||
}>(`/admin/customers`, {
|
||||
method: "POST",
|
||||
headers,
|
||||
|
||||
@@ -349,7 +349,6 @@ export class Store {
|
||||
) => {
|
||||
return this.client.fetch<{
|
||||
customer: HttpTypes.StoreCustomer
|
||||
token: string
|
||||
}>(`/store/customers`, {
|
||||
method: "POST",
|
||||
headers,
|
||||
|
||||
Reference in New Issue
Block a user