mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
chore: standardize tsconfig (#9568)
This commit is contained in:
@@ -47,7 +47,7 @@ export class CaptchaService {
|
||||
body: formData,
|
||||
method: 'POST',
|
||||
});
|
||||
const outcome = await result.json();
|
||||
const outcome: any = await result.json();
|
||||
|
||||
return (
|
||||
!!outcome.success &&
|
||||
|
||||
@@ -23,7 +23,7 @@ export class CopilotWorkflowService {
|
||||
const node = workflow.get(nodeData.id);
|
||||
if (!node) {
|
||||
this.logger.error(
|
||||
`Failed to init workflow ${name}: node ${nodeData.id} not found`
|
||||
`Failed to init workflow ${graph.name}: node ${nodeData.id} not found`
|
||||
);
|
||||
throw new Error(`Node ${nodeData.id} not found`);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ export class CopilotWorkflowService {
|
||||
const edge = workflow.get(edgeId);
|
||||
if (!edge) {
|
||||
this.logger.error(
|
||||
`Failed to init workflow ${name}: edge ${edgeId} not found in node ${nodeData.id}`
|
||||
`Failed to init workflow ${graph.name}: edge ${edgeId} not found in node ${nodeData.id}`
|
||||
);
|
||||
throw new Error(`Edge ${edgeId} not found`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user