From 04022a758c9bb388c67fd875a3aa4037613debde Mon Sep 17 00:00:00 2001 From: Skillz Date: Sat, 14 Mar 2020 15:08:06 -0400 Subject: [PATCH] test fix --- module/request_manager.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/request_manager.ts b/module/request_manager.ts index f703f2e45..d1daa2714 100644 --- a/module/request_manager.ts +++ b/module/request_manager.ts @@ -49,7 +49,8 @@ const create_request_body = (body: unknown, method?: RequestMethod) => { return { headers: { Authorization: authorization, - "User-Agent": `Discordeno (https://github.com/skillz4killz/discordeno, 0.0.1)` + "User-Agent": `Discordeno (https://github.com/skillz4killz/discordeno, 0.0.1)`, + "Content-Type": "application/json" }, body: body ? JSON.stringify(body) : undefined, method