diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-26 07:56:32 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-26 07:56:32 +0900 |
| commit | 7121bdef6b232294acda25b169be1e008a8812b6 (patch) | |
| tree | 9b4ca00b2fdef9ab2c385382ec8e023ef5e69fd1 /src/misc/count-same-renotes.ts | |
| parent | 同じノートを何回リノートしても一回として数えるよう... (diff) | |
| download | misskey-7121bdef6b232294acda25b169be1e008a8812b6.tar.gz misskey-7121bdef6b232294acda25b169be1e008a8812b6.tar.bz2 misskey-7121bdef6b232294acda25b169be1e008a8812b6.zip | |
Refactor
Diffstat (limited to '')
| -rw-r--r-- | src/misc/count-same-renotes.ts (renamed from src/services/count-same-renotes.ts) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/count-same-renotes.ts b/src/misc/count-same-renotes.ts index a20b4fbf8c..0233bdf88e 100644 --- a/src/services/count-same-renotes.ts +++ b/src/misc/count-same-renotes.ts @@ -1,6 +1,6 @@ import { Notes } from '../models'; -export default async function(userId: string, renoteId: string, excludeNoteId: string | undefined): Promise<number> { +export async function countSameRenotes(userId: string, renoteId: string, excludeNoteId: string | undefined): Promise<number> { // 指定したユーザーの指定したノートのリノートがいくつあるか数える const query = Notes.createQueryBuilder('note') .where('note.userId = :userId', { userId }) |