From 96eac275214067a508d50fc2faa125468eb0ab2c Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 16 Apr 2017 15:29:57 +0000 Subject: [PATCH] Fix? --- commands/random/strawpoll.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/commands/random/strawpoll.js b/commands/random/strawpoll.js index 1db9aa78..640c894e 100644 --- a/commands/random/strawpoll.js +++ b/commands/random/strawpoll.js @@ -43,6 +43,9 @@ module.exports = class StrawpollCommand extends Command { try { const response = await snekfetch .post('https://strawpoll.me/api/v2/polls') + .set({ + 'Content-Type': 'application/json' + }) .send({ title: title, options: choices