debug
This commit is contained in:
parent
7ad3bff073
commit
989ffe5a80
|
@ -16,7 +16,9 @@ async function accountApiFetch(url: string, method: "GET" | "POST" | "PUT" | "DE
|
|||
body: JSON.stringify(body),
|
||||
} : {},
|
||||
});
|
||||
return await response.json() as AT.APIResponse;
|
||||
const raw = await response.text();
|
||||
console.log("api response:", raw);
|
||||
return JSON.parse(raw) as AT.APIResponse;
|
||||
}
|
||||
|
||||
export async function publishDictionary(): Promise<FT.PublishDictionaryResponse> {
|
||||
|
|
Loading…
Reference in New Issue