3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

add missing "where"

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Tiago R 2023-12-22 20:21:22 +00:00 committed by GitHub
parent b47db15ad2
commit 48d5696552
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}
}))!;
});
}