feat: refactor auth package and add get users for staff
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
func (sr *impl) GetStaffByID(ID string) (*staffdomain.Staff, error) {
|
||||
func (sr *accessor) GetStaffByID(ID string) (*staffdomain.Staff, error) {
|
||||
var staff staffdomain.Staff
|
||||
|
||||
if ID == "" {
|
||||
|
||||
Reference in New Issue
Block a user