mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
chore: Upgrade nodelinter to 1.16.3 (#11286)
This commit is contained in:
@@ -81,7 +81,6 @@ export class MongoDb implements INodeType {
|
||||
const { databases } = await client.db().admin().listDatabases();
|
||||
|
||||
if (!(databases as IDataObject[]).map((db) => db.name).includes(database)) {
|
||||
// eslint-disable-next-line n8n-nodes-base/node-execute-block-wrong-error-thrown
|
||||
throw new ApplicationError(`Database "${database}" does not exist`, {
|
||||
level: 'warning',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user