Skip to content

Commit

Permalink
fix(db): Fix duplicate join
Browse files Browse the repository at this point in the history
Fixes BOT-240
  • Loading branch information
Marco Crespi committed Dec 10, 2019
1 parent b941b73 commit 1b6faf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/services/DatabaseService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ export class DatabaseService {
const res = await this.insertOrUpdate(
TABLE.joins,
['guildId', 'createdAt', 'memberId', 'exactMatchCode', 'invalidatedReason', 'cleared'],
[],
['exactMatchCode'],
[join],
j => j.guildId
);
Expand Down

0 comments on commit 1b6faf3

Please sign in to comment.