Fix bug
This commit is contained in:
parent
251bf4bd61
commit
5875409841
2 changed files with 4 additions and 1 deletions
|
@ -65,7 +65,7 @@ export class PageRepository extends Repository<Page> {
|
|||
createdAt: page.createdAt.toISOString(),
|
||||
updatedAt: page.updatedAt.toISOString(),
|
||||
userId: page.userId,
|
||||
user: Users.pack(page.user || page.userId),
|
||||
user: Users.pack(page.user || page.userId, me, { detail: true }),
|
||||
content: page.content,
|
||||
variables: page.variables,
|
||||
title: page.title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue