fix: payload update staff
This commit is contained in:
parent
642566c8b2
commit
13a8481f22
@ -49,7 +49,7 @@ func UpdateStaff(
|
||||
ID: id,
|
||||
Email: spec.Email,
|
||||
Password: spec.Password,
|
||||
Username: spec.Username,
|
||||
Name: spec.Name,
|
||||
}
|
||||
|
||||
if err := authSvc.UpdateStaff(staff); err != nil {
|
||||
@ -64,9 +64,9 @@ func UpdateStaff(
|
||||
return
|
||||
}
|
||||
|
||||
responsePayload := struct{
|
||||
responsePayload := struct {
|
||||
Message string
|
||||
} {
|
||||
}{
|
||||
Message: "update staff success",
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user