Dumb: formatting fix

This commit is contained in:
SillyLossy
2023-03-19 17:04:22 +02:00
parent ad765f2275
commit c9e64c8091

View File

@ -1525,15 +1525,15 @@ function putAsync(url, args) {
})
}
function postAsync(url, args) {
return new Promise((resolve, reject) => {
client.post(url, args, (data, response) => {
if (response.statusCode >= 400) {
reject([data, response]);
}
resolve(data);
}).on('error', e => reject(e));
})
function postAsync(url, args) {
return new Promise((resolve, reject) => {
client.post(url, args, (data, response) => {
if (response.statusCode >= 400) {
reject([data, response]);
}
resolve(data);
}).on('error', e => reject(e));
})
}
function getAsync(url, args) {