feat: get user/staff profile
This commit is contained in:
@@ -23,6 +23,7 @@ func (a *AuthSvc) RegisterStaff(spec authdomain.RegisterStaffReq) (string, error
|
||||
ID: uuid.NewString(),
|
||||
Email: spec.Email,
|
||||
Password: hashedPwd,
|
||||
Username: spec.Username,
|
||||
}
|
||||
|
||||
_, err = a.staffRepo.Create(&user)
|
||||
|
||||
Reference in New Issue
Block a user