added http tests

This commit is contained in:
Joe-Dowd
2020-04-01 21:29:13 +01:00
parent e2f430dd09
commit 30d24de4d3
5 changed files with 40 additions and 8 deletions

View File

@@ -99,7 +99,6 @@ module.exports = async function voteOnSponsorTime(req, res) {
err && console.log(err);
return;
}
console.log(config.test);
request.post(config.discordReportChannelWebhookURL, {
json: {
@@ -120,7 +119,7 @@ module.exports = async function voteOnSponsorTime(req, res) {
}
}]
}
}, () => {});
});
});
}
}