summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorotofune <otofune@gmail.com>2017-11-06 15:45:21 +0900
committerotofune <otofune@gmail.com>2017-11-06 15:45:21 +0900
commit0ee6d6592113c5b2df071f4451cb1c1697b59d61 (patch)
tree5dc257a59ac7916222a8c78785d7ed6f01eb040f /src/api
parentfile-server - support new DriveFile w/ GridFS on '/:id/:name' (diff)
downloadsharkey-0ee6d6592113c5b2df071f4451cb1c1697b59d61.tar.gz
sharkey-0ee6d6592113c5b2df071f4451cb1c1697b59d61.tar.bz2
sharkey-0ee6d6592113c5b2df071f4451cb1c1697b59d61.zip
fix timeline
Diffstat (limited to 'src/api')
-rw-r--r--src/api/endpoints/posts/timeline.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/posts/timeline.ts b/src/api/endpoints/posts/timeline.ts
index 496de62b69..19578e59b1 100644
--- a/src/api/endpoints/posts/timeline.ts
+++ b/src/api/endpoints/posts/timeline.ts
@@ -92,5 +92,5 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => {
});
// Serialize
- res(Promise.all(timeline.map(post => serialize(post, user))));
+ res(await Promise.all(timeline.map(post => serialize(post, user))));
});