diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-07-15 20:45:32 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-07-15 20:45:32 +0900 |
| commit | dc69490e3abdebf186e9b642c629ec888afc88d8 (patch) | |
| tree | 8b95a41a95083cdc4009f581a02c6a11c0f4279f /src/queue/processors | |
| parent | Improve email notification (diff) | |
| download | sharkey-dc69490e3abdebf186e9b642c629ec888afc88d8.tar.gz sharkey-dc69490e3abdebf186e9b642c629ec888afc88d8.tar.bz2 sharkey-dc69490e3abdebf186e9b642c629ec888afc88d8.zip | |
Refactoring
Diffstat (limited to 'src/queue/processors')
| -rw-r--r-- | src/queue/processors/db/import-following.ts | 2 | ||||
| -rw-r--r-- | src/queue/processors/db/import-user-lists.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/queue/processors/db/import-following.ts b/src/queue/processors/db/import-following.ts index 55c0aaa9f9..1156b5cafa 100644 --- a/src/queue/processors/db/import-following.ts +++ b/src/queue/processors/db/import-following.ts @@ -2,7 +2,7 @@ import * as Bull from 'bull'; import { queueLogger } from '../../logger'; import follow from '../../../services/following/create'; -import parseAcct from '@/misc/acct/parse'; +import { parseAcct } from '@/misc/acct'; import { resolveUser } from '../../../remote/resolve-user'; import { downloadTextFile } from '@/misc/download-text-file'; import { isSelfHost, toPuny } from '@/misc/convert-host'; diff --git a/src/queue/processors/db/import-user-lists.ts b/src/queue/processors/db/import-user-lists.ts index d316b95ff0..d04ead869a 100644 --- a/src/queue/processors/db/import-user-lists.ts +++ b/src/queue/processors/db/import-user-lists.ts @@ -1,7 +1,7 @@ import * as Bull from 'bull'; import { queueLogger } from '../../logger'; -import parseAcct from '@/misc/acct/parse'; +import { parseAcct } from '@/misc/acct'; import { resolveUser } from '../../../remote/resolve-user'; import { pushUserToUserList } from '../../../services/user-list/push'; import { downloadTextFile } from '@/misc/download-text-file'; |