refactor-location #134
|
@ -242,8 +242,8 @@ func (s SupplierUser) ChangePassword(p model.ChangePasswordRequest) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// CheckTokenSupplier ...
|
||||
func (s SupplierUser) CheckTokenSupplier(p model.CheckTokenSupplierUserPayload) (*model.ResponseCheckTokenSupplierUser, error) {
|
||||
// CheckTokenSupplierUser ...
|
||||
func (s SupplierUser) CheckTokenSupplierUser(p model.CheckTokenSupplierUserPayload) (*model.ResponseCheckTokenSupplierUser, error) {
|
||||
msg, err := natsio.GetServer().Request(subject.SupplierUser.CheckTokenSupplierUser, toBytes(p))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
@ -19,7 +19,6 @@ var SupplierUser = struct {
|
|||
UpdateStatus string
|
||||
ResetPassword string
|
||||
ChangePassword string
|
||||
CheckToken string
|
||||
CheckTokenSupplierUser string
|
||||
}{
|
||||
// Users
|
||||
|
@ -34,6 +33,5 @@ var SupplierUser = struct {
|
|||
UpdateStatus: getSupplierUserValue("update_status"),
|
||||
ResetPassword: getSupplierUserValue("reset_password"),
|
||||
ChangePassword: getSupplierUserValue("change_password"),
|
||||
CheckToken: getSupplierUserValue("check_token"),
|
||||
CheckTokenSupplierUser: getSupplierUserValue("check_token_supplier_user"),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue