mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(GuildsAPI): use level rather than mfa_level when editing MFA (#9584)
This commit is contained in:
@@ -406,7 +406,7 @@ export class GuildsAPI {
|
||||
return this.rest.post(Routes.guildMFA(guildId), {
|
||||
reason,
|
||||
signal,
|
||||
body: { mfa_level: level },
|
||||
body: { level },
|
||||
}) as Promise<RESTPostAPIGuildsMFAResult>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user