From 5c700ff0ea09ba62521bc03feade57cbaee27a3d Mon Sep 17 00:00:00 2001 From: Joseph Ditton Date: Wed, 8 Dec 2021 17:55:59 -0700 Subject: [PATCH] add content type to api --- client/utils/use_api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/utils/use_api.js b/client/utils/use_api.js index d167e02..e91585a 100644 --- a/client/utils/use_api.js +++ b/client/utils/use_api.js @@ -18,6 +18,7 @@ export class Api { method, headers: { Authorization: `Bearer ${this.authToken}`, + 'Content-Type': 'application/json', }, ...options, }).then((res) => res.json());