mirror of
https://github.com/System-End/scraps.git
synced 2026-04-19 23:22:54 +00:00
Update admin.ts
This commit is contained in:
parent
9d7404deef
commit
44048f3f03
1 changed files with 1 additions and 1 deletions
|
|
@ -542,7 +542,7 @@ admin.get('/reviews/:id', async ({ params, headers }) => {
|
|||
user: projectUser[0] ? {
|
||||
id: projectUser[0].id,
|
||||
username: projectUser[0].username,
|
||||
email: projectUser[0].email,
|
||||
email: isAdmin ? projectUser[0].email : undefined,
|
||||
avatar: projectUser[0].avatar,
|
||||
internalNotes: projectUser[0].internalNotes
|
||||
} : null,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue