Skip to content

Commit

Permalink
fix: supply platform when granting promocode
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Jul 4, 2018
1 parent ef0d4b9 commit 827bc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/Promocodes/GrantPromocode.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class GrantPromocode extends Command {
}
// eslint-disable-next-line camelcase
if (grantedTo === null) {
await this.settings.grantCode(code, user, message.author.id);
await this.settings.grantCode(code, user, message.author.id, platform);
this.messageManager.reply(message, `Code \`${code}\` granted to <@${user}> from ${pool} on ${platform}`);
return this.messageManager.statuses.SUCCESS;
}
Expand Down

0 comments on commit 827bc15

Please sign in to comment.