rename subj
This commit is contained in:
parent
4fd0a89acd
commit
64c7fca2cc
|
@ -141,7 +141,7 @@ func (s SupplierUser) ResetPassword(p model.ResetPasswordRequest) (*model.ResetP
|
||||||
|
|
||||||
// CheckTokenSupplier ...
|
// CheckTokenSupplier ...
|
||||||
func (s SupplierUser) CheckTokenSupplier(p model.CheckTokenSupplierUserPayload) (*model.ResponseCheckTokenSupplierUser, error) {
|
func (s SupplierUser) CheckTokenSupplier(p model.CheckTokenSupplierUserPayload) (*model.ResponseCheckTokenSupplierUser, error) {
|
||||||
msg, err := natsio.GetServer().Request(subject.SupplierUser.CheckToken, toBytes(p))
|
msg, err := natsio.GetServer().Request(subject.SupplierUser.CheckTokenSupplierUser, toBytes(p))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ var SupplierUser = struct {
|
||||||
UpdateStaff string
|
UpdateStaff string
|
||||||
UpdateStatus string
|
UpdateStatus string
|
||||||
ResetPassword string
|
ResetPassword string
|
||||||
CheckToken string
|
CheckTokenSupplierUser string
|
||||||
}{
|
}{
|
||||||
// Users
|
// Users
|
||||||
CreateOwner: getSupplierUserValue("create_owner"),
|
CreateOwner: getSupplierUserValue("create_owner"),
|
||||||
|
@ -23,5 +23,5 @@ var SupplierUser = struct {
|
||||||
UpdateStaff: getSupplierUserValue("update_staff"),
|
UpdateStaff: getSupplierUserValue("update_staff"),
|
||||||
UpdateStatus: getSupplierUserValue("update_status"),
|
UpdateStatus: getSupplierUserValue("update_status"),
|
||||||
ResetPassword: getSupplierUserValue("reset_password"),
|
ResetPassword: getSupplierUserValue("reset_password"),
|
||||||
CheckToken: getSupplierUserValue("check_token"),
|
CheckTokenSupplierUser: getSupplierUserValue("check_token_supplier_user"),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue