mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +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), {
|
return this.rest.post(Routes.guildMFA(guildId), {
|
||||||
reason,
|
reason,
|
||||||
signal,
|
signal,
|
||||||
body: { mfa_level: level },
|
body: { level },
|
||||||
}) as Promise<RESTPostAPIGuildsMFAResult>;
|
}) as Promise<RESTPostAPIGuildsMFAResult>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user