diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-19 18:33:41 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-19 18:33:41 +0900 |
| commit | b9cb6d1c10729869cbb57ce50c8174ad7474db75 (patch) | |
| tree | 0d522e7e6e589aaa6b6ddfcf4e12947c6bed0501 /src/daemons | |
| parent | Update glossary.md (diff) | |
| download | misskey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.tar.gz misskey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.tar.bz2 misskey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.zip | |
refactor: refactoring imports
将来ESMに移行しやすいように
Related: #7658
なんかmochaが起動しなくなってるけど理由不明
すぐ直したい
Diffstat (limited to 'src/daemons')
| -rw-r--r-- | src/daemons/janitor.ts | 2 | ||||
| -rw-r--r-- | src/daemons/queue-stats.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/daemons/janitor.ts b/src/daemons/janitor.ts index c079086427..2bffbc55d1 100644 --- a/src/daemons/janitor.ts +++ b/src/daemons/janitor.ts @@ -1,7 +1,7 @@ // TODO: 消したい const interval = 30 * 60 * 1000; -import { AttestationChallenges } from '../models'; +import { AttestationChallenges } from '@/models/index.js'; import { LessThan } from 'typeorm'; /** diff --git a/src/daemons/queue-stats.ts b/src/daemons/queue-stats.ts index 77f09b18d6..945bb1bd02 100644 --- a/src/daemons/queue-stats.ts +++ b/src/daemons/queue-stats.ts @@ -1,5 +1,5 @@ import Xev from 'xev'; -import { deliverQueue, inboxQueue } from '../queue/queues'; +import { deliverQueue, inboxQueue } from '../queue/queues.js'; const ev = new Xev(); |