From 2199bb4eef096c1c34a7336427f35efa2da769df Mon Sep 17 00:00:00 2001 From: anbuiselly <105765792+anbuiselly@users.noreply.github.com> Date: Fri, 18 Nov 2022 21:49:42 +0700 Subject: [PATCH] fix get list staff --- client/staff.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/staff.go b/client/staff.go index e2eac0c..b175f53 100644 --- a/client/staff.go +++ b/client/staff.go @@ -15,8 +15,8 @@ func GetStaff() Staff { return Staff{} } -// GetListStaffInfoByNotificationAction ... -func (s Staff) GetListStaffInfoByNotificationAction(p model.GetListStaffRequest) (*model.ResponseListStaffInfo, error) { +// GetListStaffInfoByIds ... +func (s Staff) GetListStaffInfoByIds(p model.GetListStaffRequest) (*model.ResponseListStaffInfo, error) { msg, err := natsio.GetServer().Request(subject.Staff.GetListStaffInfo, toBytes(p)) if err != nil {