summaryrefslogtreecommitdiff
path: root/src/server/api
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-15 23:29:26 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-15 23:29:26 +0900
commitfc66231f8e00454c161cccaf660067d7b660d467 (patch)
tree095377b4ae501e9eb38711884370af1ab79761fc /src/server/api
parentFix bug (diff)
downloadsharkey-fc66231f8e00454c161cccaf660067d7b660d467.tar.gz
sharkey-fc66231f8e00454c161cccaf660067d7b660d467.tar.bz2
sharkey-fc66231f8e00454c161cccaf660067d7b660d467.zip
Fix #4701
Diffstat (limited to 'src/server/api')
-rw-r--r--src/server/api/endpoints/users/notes.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/users/notes.ts b/src/server/api/endpoints/users/notes.ts
index da23be3c55..d3f17bd787 100644
--- a/src/server/api/endpoints/users/notes.ts
+++ b/src/server/api/endpoints/users/notes.ts
@@ -196,5 +196,5 @@ export default define(meta, async (ps, me) => {
const timeline = await query.take(ps.limit!).getMany();
- return await Notes.packMany(timeline, user);
+ return await Notes.packMany(timeline, me);
});