Skip to content

Commit fd1986c

Browse files
committedDec 29, 2024·
Fix minor bug in fixGames script
1 parent a14d68a commit fd1986c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎scripts/src/fixGames.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export async function fixGames() {
3434
// eslint-disable-next-line no-constant-condition
3535
if (false) {
3636
await queue.onEmpty();
37-
queue.add(getDatabase().ref(`games/${gameId}/enableHint`).set(false));
37+
queue.add(() =>
38+
getDatabase().ref(`games/${gameId}/enableHint`).set(false),
39+
);
3840
}
3941
}
4042
}

0 commit comments

Comments
 (0)
Please sign in to comment.