mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor: Upgrade typeorm to 0.3.x (#5151)
This commit is contained in:
committed by
GitHub
parent
6608e69457
commit
0a5ab560b1
@@ -41,9 +41,9 @@ export class WaitingWebhooks {
|
||||
const executionId = pathParts.shift();
|
||||
const path = pathParts.join('/');
|
||||
|
||||
const execution = await Db.collections.Execution.findOne(executionId);
|
||||
const execution = await Db.collections.Execution.findOneBy({ id: executionId });
|
||||
|
||||
if (execution === undefined) {
|
||||
if (execution === null) {
|
||||
throw new ResponseHelper.NotFoundError(`The execution "${executionId} does not exist.`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user