Will this fix it?

This commit is contained in:
Daniel Odendahl Jr
2017-03-23 17:13:40 +00:00
parent 3c7240b8c9
commit 8e3eaf2ae7
+1 -2
View File
@@ -24,8 +24,7 @@ module.exports = class QuotesCommand extends commando.Command {
.get('https://andruxnet-random-famous-quotes.p.mashape.com/') .get('https://andruxnet-random-famous-quotes.p.mashape.com/')
.set({ .set({
'X-Mashape-Key': config.mashapekey, 'X-Mashape-Key': config.mashapekey,
'Accept': 'application/json', 'Accept': 'application/json'
'Content-Type': 'application/x-www-form-urlencoded'
}) })
.query({ .query({
cat: randomTypes cat: randomTypes