fix(GuildsAPI): use level rather than mfa_level when editing MFA (#9584)

This commit is contained in:
David Malchin
2023-05-18 20:03:09 +03:00
committed by GitHub
parent 46167a79d7
commit 3535321b98

View File

@@ -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>;
}