Skip to content

Commit

Permalink
[frontend/backend] linting (#6799)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archidoit committed May 10, 2024
1 parent 8ac61c8 commit 1a4acf1
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 @@ -2332,7 +2332,7 @@ const completeSpecialFilterKeys = async (context, user, inputFilters) => {
const filter = filters[index];
const { key } = filter;
const arrayKeys = Array.isArray(key) ? key : [key];
if (arrayKeys.some((fiterKey) => complexConversionFilterKeys.includes(fiterKey))) {
if (arrayKeys.some((filterKey) => complexConversionFilterKeys.includes(filterKey))) {
if (arrayKeys.length > 1) {
throw UnsupportedError('A filter with these multiple keys is not supported}', { keys: arrayKeys });
}
Expand Down

0 comments on commit 1a4acf1

Please sign in to comment.