forked from FoundKeyGang/FoundKey
fix type typo
This commit is contained in:
parent
4ebcfa72d4
commit
0c5869805a
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export const NoteReactionRepository = db.getRepository(NoteReaction).extend({
|
||||||
src: NoteReaction[],
|
src: NoteReaction[],
|
||||||
me?: { id: User['id'] } | null | undefined,
|
me?: { id: User['id'] } | null | undefined,
|
||||||
options?: {
|
options?: {
|
||||||
withNote: booleam;
|
withNote: boolean;
|
||||||
},
|
},
|
||||||
): Promise<Packed<'NoteReaction'>[]> {
|
): Promise<Packed<'NoteReaction'>[]> {
|
||||||
const reactions = await Promise.allSettled(src.map(reaction => this.pack(reaction, me, options)));
|
const reactions = await Promise.allSettled(src.map(reaction => this.pack(reaction, me, options)));
|
||||||
|
|
Loading…
Reference in a new issue