From a7aa9249493e2611c359ae49987da050f7abd09f Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 9 Jul 2019 16:55:55 +0900 Subject: [PATCH] Add userId prop --- src/server/api/endpoints/page-push.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/api/endpoints/page-push.ts b/src/server/api/endpoints/page-push.ts index 3af9ff50f..bdd2ebfe5 100644 --- a/src/server/api/endpoints/page-push.ts +++ b/src/server/api/endpoints/page-push.ts @@ -42,6 +42,7 @@ export default define(meta, async (ps, user) => { pageId: ps.pageId, event: ps.event, var: ps.var, + userId: user.id, user: await Users.pack(user, page.userId, { detail: true })