mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-21 07:26:50 +00:00
ci: enforce code formatting checks for backend and frontend (#1536)
This commit is contained in:
@@ -10,7 +10,9 @@ async function readMemoryResponse(
|
||||
const errorData = (await response.json().catch(() => ({}))) as {
|
||||
detail?: string;
|
||||
};
|
||||
throw new Error(errorData.detail ?? `${fallbackMessage}: ${response.statusText}`);
|
||||
throw new Error(
|
||||
errorData.detail ?? `${fallbackMessage}: ${response.statusText}`,
|
||||
);
|
||||
}
|
||||
|
||||
return response.json() as Promise<UserMemory>;
|
||||
|
||||
Reference in New Issue
Block a user