Ent search 3392 fix canceling syncs (#145885)

This fixes broken functionality where syncs weren't being canceled,
caused by a missed index mapping refactor.
This commit is contained in:
Sander Philipse 2022-11-22 15:24:24 +01:00 committed by GitHub
parent 0c178e4b80
commit 62a90f8046
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@ describe('addConnector lib function', () => {
must: [
{
term: {
connector_id: 'connectorId',
'connector.id': 'connectorId',
},
},
{
@ -63,7 +63,7 @@ describe('addConnector lib function', () => {
must: [
{
term: {
connector_id: 'connectorId',
'connector.id': 'connectorId',
},
},
{

View file

@ -21,7 +21,7 @@ export const cancelSyncs = async (
must: [
{
term: {
connector_id: connectorId,
'connector.id': connectorId,
},
},
{
@ -45,7 +45,7 @@ export const cancelSyncs = async (
must: [
{
term: {
connector_id: connectorId,
'connector.id': connectorId,
},
},
{