From b4811f091e78472afe8158bcc913fbacfd63adf6 Mon Sep 17 00:00:00 2001 From: Tue Date: Thu, 3 Nov 2022 11:35:23 +0700 Subject: [PATCH 1/2] build auth sms --- model/supplier_user_request.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/model/supplier_user_request.go b/model/supplier_user_request.go index 32c148f..84afd1d 100644 --- a/model/supplier_user_request.go +++ b/model/supplier_user_request.go @@ -31,7 +31,6 @@ type CreateOwnerRequest struct { Email string `json:"email"` SupplierID string `json:"supplierId"` RoleID string `json:"roleId"` - Password string `json:"password"` } type UpdateOwnerRequest struct { @@ -49,7 +48,6 @@ type CreateStaffRequest struct { Email string `json:"email"` SupplierID string `json:"supplierId"` RoleID string `json:"roleId"` - Password string `json:"password"` Warehouses []string `json:"warehouses"` } From 32e93323b7891774757ababf58974ae571a143b0 Mon Sep 17 00:00:00 2001 From: Tue Date: Thu, 3 Nov 2022 14:14:25 +0700 Subject: [PATCH 2/2] build auth sms --- model/supplier_user_response.go | 1 + 1 file changed, 1 insertion(+) diff --git a/model/supplier_user_response.go b/model/supplier_user_response.go index 01826ce..af13f88 100644 --- a/model/supplier_user_response.go +++ b/model/supplier_user_response.go @@ -5,6 +5,7 @@ type LoginUserResponse struct { ID string `json:"_id"` RequireToChangePassword bool `json:"requireToChangePassword"` SupplierID string `json:"supplierId"` + Name string `json:"name"` } type GetListUserResponse struct {