Skip to content

Commit

Permalink
add missing "where"
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
metal0 authored Dec 22, 2023
1 parent b47db15 commit 48d5696
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion backend/src/data/GuildCounters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,11 @@ export class GuildCounters extends BaseGuildRepository {
reverse_comparison_value: reverseComparisonValue,
});

return (await entityManager.findOne(CounterTrigger, insertResult.identifiers[0].id))!;
return (await entityManager.findOne(CounterTrigger, {
where: {
id: insertResult.identifiers[0].id
}
}))!;
});
}

Expand Down

0 comments on commit 48d5696

Please sign in to comment.