mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(roleConnections): Fix body type for updateMetadataRecords() (#9516)
This commit is contained in:
@@ -5,7 +5,7 @@ import {
|
||||
Routes,
|
||||
type RESTGetAPIApplicationRoleConnectionMetadataResult,
|
||||
type RESTPutAPIApplicationRoleConnectionMetadataResult,
|
||||
type RESTPutAPIApplicationCommandPermissionsJSONBody,
|
||||
type RESTPutAPIApplicationRoleConnectionMetadataJSONBody,
|
||||
type Snowflake,
|
||||
} from 'discord-api-types/v10';
|
||||
|
||||
@@ -35,7 +35,7 @@ export class RoleConnectionsAPI {
|
||||
*/
|
||||
public async updateMetadataRecords(
|
||||
applicationId: Snowflake,
|
||||
body: RESTPutAPIApplicationCommandPermissionsJSONBody,
|
||||
body: RESTPutAPIApplicationRoleConnectionMetadataJSONBody,
|
||||
{ signal }: Pick<RequestData, 'signal'> = {},
|
||||
) {
|
||||
return this.rest.put(Routes.applicationRoleConnectionMetadata(applicationId), {
|
||||
|
||||
Reference in New Issue
Block a user