mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-14 15:16:09 -05:00
Fix type
This commit is contained in:
@@ -64,7 +64,9 @@ describe("trophy approvals", () => {
|
||||
creatorId: artist.id,
|
||||
});
|
||||
|
||||
let accepted = null;
|
||||
let accepted: null | {
|
||||
id: number;
|
||||
} = null;
|
||||
for (const userId of reviewerIds.slice(0, TROPHY_APPROVALS_REQUIRED)) {
|
||||
accepted = await TrophyRepository.addApproval({
|
||||
pendingTrophyId: pending.id,
|
||||
|
||||
Reference in New Issue
Block a user