Skip to content

Commit

Permalink
I dont understand drone lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aHenryJard committed Jan 24, 2025
1 parent ed3817f commit cb2dfd3
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ const rssExecutor = async (context: AuthContext, turndownService: TurndownServic
ingestionPromises.push(ingestionPromise);
} else {
// Update the state
const ingestionPromise = updateBuiltInConnectorInfo(context, ingestion.user_id, ingestion.id, { buffering: true, messages_size });
const ingestionPromise = updateBuiltInConnectorInfo(context, ingestion.user_id, ingestion.id, { buffering: true, messages_size })
.catch((reason) => logApp.error('[OPENCTI-MODULE] INGESTION error', { cause: reason }));
ingestionPromises.push(ingestionPromise);
}
}
Expand Down Expand Up @@ -448,7 +449,8 @@ const taxiiExecutor = async (context: AuthContext) => {
ingestionPromises.push(ingestionPromise);
} else {
// Update the state
const ingestionPromise = updateBuiltInConnectorInfo(context, ingestion.user_id, ingestion.id, { buffering: true, messages_size });
const ingestionPromise = updateBuiltInConnectorInfo(context, ingestion.user_id, ingestion.id, { buffering: true, messages_size })
.catch((reason) => logApp.error('[OPENCTI-MODULE] INGESTION error', { cause: reason }));
ingestionPromises.push(ingestionPromise);
}
}
Expand Down Expand Up @@ -530,7 +532,8 @@ const csvExecutor = async (context: AuthContext) => {
ingestionPromises.push(ingestionPromise);
} else {
// Update the state
const ingestionPromise = updateBuiltInConnectorInfo(context, ingestion.user_id, ingestion.id, { buffering: true, messages_size });
const ingestionPromise = updateBuiltInConnectorInfo(context, ingestion.user_id, ingestion.id, { buffering: true, messages_size })
.catch((reason) => logApp.error('[OPENCTI-MODULE] INGESTION error', { cause: reason }));
ingestionPromises.push(ingestionPromise);
}
}
Expand Down

0 comments on commit cb2dfd3

Please sign in to comment.