JSON.parse fix?

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