Skip to content

Commit

Permalink
fix: token on fucntion params
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRoger committed Jun 13, 2024
1 parent cd0e811 commit 0684b0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/plugins/community/retroachievements/index.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default async function (
{ q, imports, data, account },
{ enabled = false, extras = false } = {}
{ token = "", enabled = false, extras = false } = {}
) {
//Plugin execution
try {
Expand All @@ -12,7 +12,7 @@ export default async function (
return null;

//Load input data
const { token, username, target, showachievements, lastsin, achievementslimit } =
const { username, target, showachievements, lastsin, achievementslimit } =
imports.metadata.plugins.retroachievements.inputs({ data, account, q });
const retroachievementsUrl = "https://retroachievements.org";

Expand Down

0 comments on commit 0684b0b

Please sign in to comment.