Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #274 from BanklessDAO/hotfix/fix-mint
Browse files Browse the repository at this point in the history
fix poap mint variable
  • Loading branch information
SlinkyPotato authored Dec 8, 2021
2 parents f4554db + f30357a commit 07e4d73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- surround error log in try/catch block
8. Add a security check for the poap urls that are passed
- default platform to discord
9. Fix poap mint name variable

## 2.2.0-RELEASE (2021-11-30)

Expand Down
4 changes: 2 additions & 2 deletions src/app/commands/poap/POAP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ module.exports = class poap extends SlashCommand {
command = ModifyPOAP(ctx, guildMember, authorizedRoles, authorizedUsers);
}
break;
case 'schedule':
command = SchedulePOAP(ctx, guildMember, ctx.options.schedule['mint-copies']);
case 'mint':
command = SchedulePOAP(ctx, guildMember, ctx.options.mint['mint-copies']);
break;
case 'start':
platform = ctx.options.start['platform'] != null && ctx.options.start['platform'] != '' ? ctx.options.start['platform'] : constants.PLATFORM_TYPE_DISCORD;
Expand Down

0 comments on commit 07e4d73

Please sign in to comment.