add missing "where"
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
b47db15ad2
commit
48d5696552
1 changed files with 5 additions and 1 deletions
|
@ -285,7 +285,11 @@ export class GuildCounters extends BaseGuildRepository {
|
||||||
reverse_comparison_value: reverseComparisonValue,
|
reverse_comparison_value: reverseComparisonValue,
|
||||||
});
|
});
|
||||||
|
|
||||||
return (await entityManager.findOne(CounterTrigger, insertResult.identifiers[0].id))!;
|
return (await entityManager.findOne(CounterTrigger, {
|
||||||
|
where: {
|
||||||
|
id: insertResult.identifiers[0].id
|
||||||
|
}
|
||||||
|
}))!;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue