diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-05 14:14:23 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-05 14:14:23 +0900 |
| commit | 8129d4dc2366aea07da60e21abe3440230387bfe (patch) | |
| tree | a3df66c5b7b80db69f79b62f0af0d9c5ae2eab12 /src/server/api/common | |
| parent | Fix log (diff) | |
| download | sharkey-8129d4dc2366aea07da60e21abe3440230387bfe.tar.gz sharkey-8129d4dc2366aea07da60e21abe3440230387bfe.tar.bz2 sharkey-8129d4dc2366aea07da60e21abe3440230387bfe.zip | |
Refactoring
Diffstat (limited to 'src/server/api/common')
| -rw-r--r-- | src/server/api/common/read-messaging-message.ts | 6 | ||||
| -rw-r--r-- | src/server/api/common/read-notification.ts | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/server/api/common/read-messaging-message.ts b/src/server/api/common/read-messaging-message.ts index 63080d22a4..9f1e7e6ab4 100644 --- a/src/server/api/common/read-messaging-message.ts +++ b/src/server/api/common/read-messaging-message.ts @@ -2,9 +2,9 @@ import * as mongo from 'mongodb'; import isObjectId from '../../../misc/is-objectid'; import Message from '../../../models/messaging-message'; import { IMessagingMessage as IMessage } from '../../../models/messaging-message'; -import { publishMainStream } from '../../../stream'; -import { publishMessagingStream } from '../../../stream'; -import { publishMessagingIndexStream } from '../../../stream'; +import { publishMainStream } from '../../../services/stream'; +import { publishMessagingStream } from '../../../services/stream'; +import { publishMessagingIndexStream } from '../../../services/stream'; import User from '../../../models/user'; /** diff --git a/src/server/api/common/read-notification.ts b/src/server/api/common/read-notification.ts index 27d3f1be32..4361305119 100644 --- a/src/server/api/common/read-notification.ts +++ b/src/server/api/common/read-notification.ts @@ -1,7 +1,7 @@ import * as mongo from 'mongodb'; import isObjectId from '../../../misc/is-objectid'; import { default as Notification, INotification } from '../../../models/notification'; -import { publishMainStream } from '../../../stream'; +import { publishMainStream } from '../../../services/stream'; import Mute from '../../../models/mute'; import User from '../../../models/user'; |