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