Skip to content

Commit

Permalink
[backend] fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
SouadHadjiat committed Mar 4, 2024
1 parent ba18058 commit 68c0001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencti-platform/opencti-graphql/src/database/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -2706,7 +2706,7 @@ export const elAggregationsList = async (context, user, indexName, aggregations,

export const elPaginate = async (context, user, indexName, options = {}) => {
// eslint-disable-next-line no-use-before-define
const { baseData = false, baseFields = BASE_FIELDS , bypassSizeLimit = false, first = ES_DEFAULT_PAGINATION } = options;
const { baseData = false, baseFields = BASE_FIELDS, bypassSizeLimit = false, first = ES_DEFAULT_PAGINATION } = options;
const { types = null, connectionFormat = true } = options;
const body = await elQueryBodyBuilder(context, user, options);
if (body.size > ES_MAX_PAGINATION && !bypassSizeLimit) {
Expand Down

0 comments on commit 68c0001

Please sign in to comment.