From 03daaa66d70844a1856994fb800abc5d98d0e806 Mon Sep 17 00:00:00 2001 From: zyc404 Date: Mon, 16 Oct 2023 18:50:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dheaders?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/modules/guoba.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/modules/guoba.js b/server/modules/guoba.js index 6354a14..4065c13 100644 --- a/server/modules/guoba.js +++ b/server/modules/guoba.js @@ -34,6 +34,7 @@ async function Guoba(fastify, options) { const guobaOptions = { method: body.post ? 'POST' : 'GET', headers: { + 'Content-Type': 'application/json', 'Guoba-Access-Token': body.guobaToken } }