Skip to content

Commit

Permalink
[backend] Correction in the migration
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelHassine committed Jan 28, 2025
1 parent f8d757f commit 1fba256
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const up = async (next) => {
logMigration.info('[OPENCTI] Cleaning deprecated rels for targets...');
const updateQueryForTargets = {
script: {
params: { fieldToRemove: 'rel_targets' },
params: { fieldToRemove: 'rel_targets.internal_id' },
source: 'ctx._source.remove(params.fieldToRemove)',
},
query: {
Expand Down

0 comments on commit 1fba256

Please sign in to comment.