Fix bug
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user