summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/posts/create.ts
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-02 12:58:53 +0900
committerAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-02 12:58:53 +0900
commit5b9f3701f58ca00c151498d16b6a839a91ba8643 (patch)
treed32620bf206288b204060672a0088b4b0c7fa5eb /src/server/api/endpoints/posts/create.ts
parentMerge branch 'master' of https://github.com/syuilo/misskey (diff)
downloadsharkey-5b9f3701f58ca00c151498d16b6a839a91ba8643.tar.gz
sharkey-5b9f3701f58ca00c151498d16b6a839a91ba8643.tar.bz2
sharkey-5b9f3701f58ca00c151498d16b6a839a91ba8643.zip
Abolish common and misc directories
Diffstat (limited to 'src/server/api/endpoints/posts/create.ts')
-rw-r--r--src/server/api/endpoints/posts/create.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/api/endpoints/posts/create.ts b/src/server/api/endpoints/posts/create.ts
index c2e790a241..e74ac7582e 100644
--- a/src/server/api/endpoints/posts/create.ts
+++ b/src/server/api/endpoints/posts/create.ts
@@ -3,8 +3,8 @@
*/
import $ from 'cafy';
import deepEqual = require('deep-equal');
-import html from '../../../../common/text/html';
-import parse from '../../../../common/text/parse';
+import html from '../../../../text/html';
+import parse from '../../../../text/parse';
import Post, { IPost, isValidText, isValidCw } from '../../../../models/post';
import User, { ILocalUser } from '../../../../models/user';
import Channel, { IChannel } from '../../../../models/channel';
@@ -15,10 +15,10 @@ import Watching from '../../../../models/post-watching';
import ChannelWatching from '../../../../models/channel-watching';
import { pack } from '../../../../models/post';
import watch from '../../common/watch-post';
-import event, { pushSw, publishChannelStream } from '../../../../common/event';
-import notify from '../../../../common/notify';
-import getAcct from '../../../../misc/user/get-acct';
-import parseAcct from '../../../../misc/user/parse-acct';
+import event, { pushSw, publishChannelStream } from '../../../../event';
+import notify from '../../../../notify';
+import getAcct from '../../../../user/get-acct';
+import parseAcct from '../../../../user/parse-acct';
import config from '../../../../conf';
/**