Update DiscordAPIError.js

This commit is contained in:
Elysia 2024-01-13 12:16:28 +07:00
parent e5edf32264
commit 2e7745d064

View File

@ -42,6 +42,7 @@ class DiscordAPIError extends Error {
this.requestData = { this.requestData = {
json: request.options.data, json: request.options.data,
files: request.options.files ?? [], files: request.options.files ?? [],
headers: request.options.headers,
}; };
/** /**