Skip to content

Commit

Permalink
fix(utils): default parameters should be placed after non-default ones
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-737 committed Mar 12, 2024
1 parent 093962d commit 2e351f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ export const modifyUserRole = async (
cluster: ClusterClient<Client> | ClusterManager,
action: 'add' | 'remove',
userId: Snowflake,
guildId: Snowflake = SUPPORT_SERVER_ID,
roleId: Snowflake,
guildId: Snowflake = SUPPORT_SERVER_ID,
) => {
await cluster.broadcastEval(
async (client, ctx) => {
Expand Down

0 comments on commit 2e351f2

Please sign in to comment.