summaryrefslogtreecommitdiff
path: root/src/api/endpoints/channels
diff options
context:
space:
mode:
authorこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-02 10:31:17 +0900
committerこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-02 10:31:17 +0900
commit2cb0511dba7463ad50725fd2dfd1966f0a108a45 (patch)
treed55ae280443ce1a78c1771d678e666246c1271f4 /src/api/endpoints/channels
parentwip (diff)
downloadsharkey-2cb0511dba7463ad50725fd2dfd1966f0a108a45.tar.gz
sharkey-2cb0511dba7463ad50725fd2dfd1966f0a108a45.tar.bz2
sharkey-2cb0511dba7463ad50725fd2dfd1966f0a108a45.zip
wip
Diffstat (limited to 'src/api/endpoints/channels')
-rw-r--r--src/api/endpoints/channels/posts.ts3
-rw-r--r--src/api/endpoints/channels/show.ts3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/api/endpoints/channels/posts.ts b/src/api/endpoints/channels/posts.ts
index 3feee51f76..d722589c20 100644
--- a/src/api/endpoints/channels/posts.ts
+++ b/src/api/endpoints/channels/posts.ts
@@ -3,8 +3,7 @@
*/
import $ from 'cafy';
import { default as Channel, IChannel } from '../../models/channel';
-import Post from '../../models/post';
-import { pack } from '../../models/post';
+import Post, { pack } from '../../models/post';
/**
* Show a posts of a channel
diff --git a/src/api/endpoints/channels/show.ts b/src/api/endpoints/channels/show.ts
index 89c48379a4..3238616fa5 100644
--- a/src/api/endpoints/channels/show.ts
+++ b/src/api/endpoints/channels/show.ts
@@ -2,8 +2,7 @@
* Module dependencies
*/
import $ from 'cafy';
-import { default as Channel, IChannel } from '../../models/channel';
-import { pack } from '../../models/channel';
+import { default as Channel, IChannel }, { pack } from '../../models/channel';
/**
* Show a channel