diff options
| author | Akihiko Odaki <nekomanma@pixiv.co.jp> | 2018-04-02 12:58:53 +0900 |
|---|---|---|
| committer | Akihiko Odaki <nekomanma@pixiv.co.jp> | 2018-04-02 12:58:53 +0900 |
| commit | 5b9f3701f58ca00c151498d16b6a839a91ba8643 (patch) | |
| tree | d32620bf206288b204060672a0088b4b0c7fa5eb /src/server/api/endpoints/posts/create.ts | |
| parent | Merge branch 'master' of https://github.com/syuilo/misskey (diff) | |
| download | sharkey-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.ts | 12 |
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'; /** |