Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

Commit e9a5d4d

Browse files
committed
redundancy removal
1 parent 01c5d20 commit e9a5d4d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nodes/CodeChat/Generic.func.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export async function sendErrorPostReceive(
1313
response: IN8nHttpFullResponse,
1414
): Promise<INodeExecutionData[]> {
1515
const body = response?.body as RequestBody.IError;
16-
if (body?.error) {
1716
if (body?.error) {
1817
throw new NodeApiError(
1918
this.getNode(),
@@ -26,7 +25,6 @@ export async function sendErrorPostReceive(
2625
},
2726
);
2827
}
29-
}
3028
return data;
3129
}
3230

0 commit comments

Comments
 (0)