Skip to content

Commit

Permalink
Fix wrong rework type option
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Jul 3, 2024
1 parent 14fc6b8 commit a9dfef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const run: SlashSubcommand<true>["run"] = async (_, interaction) => {

await InteractionHelper.deferReply(interaction);

const reworkType = interaction.options.getString("reworktype") ?? "overall";
const reworkType = interaction.options.getString("rework") ?? "overall";
const reworkInfo =
await DatabaseManager.aliceDb.collections.prototypePPType.getFromType(
reworkType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const run: SlashSubcommand<true>["run"] = async (_, interaction) => {
}

const dbManager = DatabaseManager.aliceDb.collections.prototypePP;
const reworkType = interaction.options.getString("reworktype") ?? "overall";
const reworkType = interaction.options.getString("rework") ?? "overall";

let ppInfo: PrototypePP | null;

Expand Down

0 comments on commit a9dfef9

Please sign in to comment.