diff options
| author | otofune <otofune@gmail.com> | 2017-11-06 16:32:01 +0900 |
|---|---|---|
| committer | otofune <otofune@gmail.com> | 2017-11-06 16:32:01 +0900 |
| commit | d5cc4cc9c28eb6a981ce37859def97cd7c57abc6 (patch) | |
| tree | bd9716aa1943210968456940f594b831e3556c68 /src/api/endpoints/posts/timeline.ts | |
| parent | remove console (diff) | |
| download | sharkey-d5cc4cc9c28eb6a981ce37859def97cd7c57abc6.tar.gz sharkey-d5cc4cc9c28eb6a981ce37859def97cd7c57abc6.tar.bz2 sharkey-d5cc4cc9c28eb6a981ce37859def97cd7c57abc6.zip | |
fix lint (automattic)
Diffstat (limited to 'src/api/endpoints/posts/timeline.ts')
| -rw-r--r-- | src/api/endpoints/posts/timeline.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/endpoints/posts/timeline.ts b/src/api/endpoints/posts/timeline.ts index 978825a109..203413e23a 100644 --- a/src/api/endpoints/posts/timeline.ts +++ b/src/api/endpoints/posts/timeline.ts @@ -92,6 +92,6 @@ module.exports = async (params, user, app) => { }); // Serialize - const _timeline = await Promise.all(timeline.map(post => serialize(post, user))) - return _timeline + const _timeline = await Promise.all(timeline.map(post => serialize(post, user))); + return _timeline; }; |