mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
feat: Upgrade nodes-base package to use modern tsconfig.json (no-changelog) (#16884)
This commit is contained in:
@@ -207,7 +207,7 @@ export async function handleErrorPostReceive(
|
||||
if (resource === 'file' && operation === 'download' && Buffer.isBuffer(response.body)) {
|
||||
response.body = jsonParse((response.body as Buffer).toString());
|
||||
}
|
||||
const error = (response.body as IErrorResponse)?.error ?? {};
|
||||
const error = (response.body as IErrorResponse)?.error ?? ({} as IErrorResponse['error']);
|
||||
|
||||
if (resource === 'file') {
|
||||
if (operation === 'download') {
|
||||
|
||||
Reference in New Issue
Block a user