mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
⚡ Minor improvements and lint-fix
This commit is contained in:
parent
5460b69418
commit
0f0dfa2191
|
@ -41,7 +41,6 @@ import {
|
|||
IExecutionDeleteFilter,
|
||||
IExecutionFlatted,
|
||||
IExecutionFlattedDb,
|
||||
IExecutionResponse,
|
||||
IExecutionFlattedResponse,
|
||||
IExecutionPushResponse,
|
||||
IExecutionResponse,
|
||||
|
@ -1484,7 +1483,7 @@ class App {
|
|||
return undefined;
|
||||
}
|
||||
|
||||
if (req.query.unflattedResponse) {
|
||||
if (req.query.unflattedResponse === 'true') {
|
||||
const fullExecutionData = ResponseHelper.unflattenExecutionData(result);
|
||||
return fullExecutionData as IExecutionResponse;
|
||||
} else {
|
||||
|
@ -1492,8 +1491,6 @@ class App {
|
|||
(result as IExecutionFlatted as IExecutionFlattedResponse).id = result.id.toString();
|
||||
return result as IExecutionFlatted as IExecutionFlattedResponse;
|
||||
}
|
||||
|
||||
return undefined;
|
||||
}));
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue