fix(core): missed optional options (#9311)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2023-04-04 19:37:26 +01:00
committed by GitHub
parent 0645bf0f7f
commit 6912faa9b3
4 changed files with 10 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ export class ChannelsAPI {
channelId: Snowflake,
messageId: Snowflake,
{ files, ...body }: RESTPostAPIChannelMessageJSONBody & { files?: RawFile[] },
{ signal }: Pick<RequestData, 'signal'>,
{ signal }: Pick<RequestData, 'signal'> = {},
) {
return this.rest.patch(Routes.channelMessage(channelId, messageId), {
files,