mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
fix edit event to approve
This commit is contained in:
@@ -7,12 +7,13 @@ export class UserLoginMapper{
|
||||
RefreshToken: input.data.refreshToken,
|
||||
Authorization: input.data.authorization,
|
||||
Email: input.data.user.wxeMail,
|
||||
FullName: input.data.user.wxeMail,
|
||||
FullName: input.data.user.wxFullName,
|
||||
RoleDescription: input.data.user.role,
|
||||
RoleID: input.data.user.roleId,
|
||||
UserId: input.data.user.wxUserId,
|
||||
UserPermissions: input.data.permissions,
|
||||
Profile: ''
|
||||
Profile: '',
|
||||
UserPhoto: input.data.user?.userPhoto
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -29,6 +29,7 @@ const UserLoginOutputSchema = z.object({
|
||||
RoleID: z.number(),
|
||||
Profile: z.string(), // You can further define the Profile if you have more details
|
||||
UserPermissions: z.array(z.number()), // Same as above, you can define more details if needed
|
||||
UserPhoto: z.string().optional()
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user