mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build: 7c12fdcb56
This commit is contained in:
parent
a87dd457ef
commit
4c9575d1f8
2 changed files with 2 additions and 2 deletions
|
|
@ -20503,7 +20503,7 @@ class APIRequest {
|
|||
if (this.file && this.file.file) {
|
||||
apiRequest.attach('file', this.file.file, this.file.name);
|
||||
this.data = this.data || {};
|
||||
for (const key in this.data) if (this.data[key]) apiRequest.field(key, this.data[key]);
|
||||
apiRequest.field('payload_json', JSON.stringify(this.data));
|
||||
} else if (this.data) {
|
||||
apiRequest.send(this.data);
|
||||
}
|
||||
|
|
|
|||
2
discord.indev.min.js
vendored
2
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue