diff options
| author | otofune <otofune@gmail.com> | 2017-11-06 15:45:21 +0900 |
|---|---|---|
| committer | otofune <otofune@gmail.com> | 2017-11-06 15:45:21 +0900 |
| commit | 0ee6d6592113c5b2df071f4451cb1c1697b59d61 (patch) | |
| tree | 5dc257a59ac7916222a8c78785d7ed6f01eb040f /src/api/endpoints/posts | |
| parent | file-server - support new DriveFile w/ GridFS on '/:id/:name' (diff) | |
| download | sharkey-0ee6d6592113c5b2df071f4451cb1c1697b59d61.tar.gz sharkey-0ee6d6592113c5b2df071f4451cb1c1697b59d61.tar.bz2 sharkey-0ee6d6592113c5b2df071f4451cb1c1697b59d61.zip | |
fix timeline
Diffstat (limited to 'src/api/endpoints/posts')
| -rw-r--r-- | src/api/endpoints/posts/timeline.ts | 2 |
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)))); }); |