mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-03 20:38:17 +03:00
Add Content-Type application/json to cause errors to be returned properly.
This commit is contained in:
@@ -71,6 +71,7 @@ export async function* TraverseKaiAPI(
|
||||
headers: {
|
||||
Authorization: `Bearer ${token}`,
|
||||
"User-Agent": `${ServerTypeInfo.name}/${VERSION_STR}`,
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
});
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user