summaryrefslogtreecommitdiff
path: root/src/misc/count-same-renotes.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-08-19 18:33:41 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-08-19 18:33:41 +0900
commitb9cb6d1c10729869cbb57ce50c8174ad7474db75 (patch)
tree0d522e7e6e589aaa6b6ddfcf4e12947c6bed0501 /src/misc/count-same-renotes.ts
parentUpdate glossary.md (diff)
downloadmisskey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.tar.gz
misskey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.tar.bz2
misskey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.zip
refactor: refactoring imports
将来ESMに移行しやすいように Related: #7658 なんかmochaが起動しなくなってるけど理由不明 すぐ直したい
Diffstat (limited to 'src/misc/count-same-renotes.ts')
-rw-r--r--src/misc/count-same-renotes.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/count-same-renotes.ts b/src/misc/count-same-renotes.ts
index bc1072080a..b7f8ce90c8 100644
--- a/src/misc/count-same-renotes.ts
+++ b/src/misc/count-same-renotes.ts
@@ -1,4 +1,4 @@
-import { Notes } from '../models';
+import { Notes } from '@/models/index.js';
export async function countSameRenotes(userId: string, renoteId: string, excludeNoteId: string | undefined): Promise<number> {
// 指定したユーザーの指定したノートのリノートがいくつあるか数える