Check again email traces

This commit is contained in:
Tuan Dang
2024-03-06 12:40:27 -08:00
parent 4d707eee8a
commit 2eca9d8200
10 changed files with 24 additions and 22 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ export const injectAuditLogInfo = fp(async (server: FastifyZodProvider) => {
payload.actor = {
type: ActorType.USER,
metadata: {
email: req.auth.user.email as string | undefined,
username: req.auth.user.username as string | undefined,
email: req.auth.user.email,
username: req.auth.user.username,
userId: req.permission.id
}
};