summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts/timeline.ts
diff options
context:
space:
mode:
authorotofune <otofune@gmail.com>2017-11-06 16:32:01 +0900
committerotofune <otofune@gmail.com>2017-11-06 16:32:01 +0900
commitd5cc4cc9c28eb6a981ce37859def97cd7c57abc6 (patch)
treebd9716aa1943210968456940f594b831e3556c68 /src/api/endpoints/posts/timeline.ts
parentremove console (diff)
downloadsharkey-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.ts4
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;
};