diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-05 03:21:11 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-05 03:21:11 +0900 |
| commit | c2c03a1c650c0395fc4d77334ec86d00b1bb24c2 (patch) | |
| tree | 12a55d4b30ede3892a0bd747dfe386307e7eeb77 /src/queue/processors/db/delete-post-dependents.ts | |
| parent | wip (diff) | |
| download | sharkey-c2c03a1c650c0395fc4d77334ec86d00b1bb24c2.tar.gz sharkey-c2c03a1c650c0395fc4d77334ec86d00b1bb24c2.tar.bz2 sharkey-c2c03a1c650c0395fc4d77334ec86d00b1bb24c2.zip | |
wip
Diffstat (limited to 'src/queue/processors/db/delete-post-dependents.ts')
| -rw-r--r-- | src/queue/processors/db/delete-post-dependents.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/queue/processors/db/delete-post-dependents.ts b/src/queue/processors/db/delete-post-dependents.ts index 879c41ec9c..6de21eb053 100644 --- a/src/queue/processors/db/delete-post-dependents.ts +++ b/src/queue/processors/db/delete-post-dependents.ts @@ -1,9 +1,9 @@ -import Favorite from '../../models/favorite'; -import Notification from '../../models/notification'; -import PollVote from '../../models/poll-vote'; -import PostReaction from '../../models/post-reaction'; -import PostWatching from '../../models/post-watching'; -import Post from '../../models/post'; +import Favorite from '../../../models/favorite'; +import Notification from '../../../models/notification'; +import PollVote from '../../../models/poll-vote'; +import PostReaction from '../../../models/post-reaction'; +import PostWatching from '../../../models/post-watching'; +import Post from '../../../models/post'; export default async ({ data }) => Promise.all([ Favorite.remove({ postId: data._id }), |