mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
🐛 Fix bug with activating some trigger nodes #1715
This commit is contained in:
@@ -179,7 +179,7 @@ export class GitlabTrigger implements INodeType {
|
||||
try {
|
||||
await gitlabApiRequest.call(this, 'GET', endpoint, {});
|
||||
} catch (error) {
|
||||
if (error.message.includes('[404]:')) {
|
||||
if (error.httpCode === '404') {
|
||||
// Webhook does not exist
|
||||
delete webhookData.webhookId;
|
||||
delete webhookData.webhookEvents;
|
||||
|
||||
Reference in New Issue
Block a user