Update minified version

This commit is contained in:
Wessel T
2019-02-19 20:27:14 +01:00
parent 4643e4592e
commit c2ca8f5a16
2 changed files with 2 additions and 1 deletions

View File

@@ -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();
});