Add Content-Type application/json to cause errors to be returned properly.

This commit is contained in:
zkldi
2021-11-03 04:24:58 +00:00
parent 84df038c05
commit 04e55eccc1
@@ -71,6 +71,7 @@ export async function* TraverseKaiAPI(
headers: {
Authorization: `Bearer ${token}`,
"User-Agent": `${ServerTypeInfo.name}/${VERSION_STR}`,
"Content-Type": "application/json",
},
});
} catch (err) {