feat: refactor auth package and add get users for staff
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
staffdomain "legalgo-BE-go/internal/domain/staff"
|
||||
)
|
||||
|
||||
func (ur *impl) Create(spec staffdomain.Staff) error {
|
||||
func (ur *accessor) Create(spec staffdomain.Staff) error {
|
||||
if err := ur.db.Create(&spec).Error; err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user