feat: store username
This commit is contained in:
parent
4c6ebb339d
commit
3cc439d3d4
1 changed files with 1 additions and 0 deletions
|
|
@ -285,6 +285,7 @@ export class UserController extends Controller {
|
|||
data: {
|
||||
id: userId,
|
||||
...rest,
|
||||
username,
|
||||
userRole: role.name,
|
||||
province: { connect: provinceId ? { id: provinceId } : undefined },
|
||||
district: { connect: districtId ? { id: districtId } : undefined },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue