mirror of
https://github.com/Wessel/wumpfetch.git
synced 2026-07-25 17:40:53 +02:00
Update minified version
This commit is contained in:
2
dist/wumpfetch.concat.js
vendored
2
dist/wumpfetch.concat.js
vendored
@@ -171,7 +171,7 @@ const WumpRequest = class WumpRequest {
|
||||
}
|
||||
|
||||
req.on('error', (e) => reject(e));
|
||||
if (this.o.data) req.write(JSON.stringify(this.o.data));
|
||||
if (this.o.data) req.write(this.o.SDA === 'json' ? JSON.stringify(this.o.data) : this.o.data);
|
||||
|
||||
req.end();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user