Skip to content

Commit

Permalink
fix: bootstrap error
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Mar 4, 2024
1 parent c00dc1b commit 59cfdd6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ export const registerResolveImportErrorsRoute = (router: IRouter, config: SavedO
retries: req.body.retries,
objectLimit: maxImportExportSize,
createNewCopies: req.query.createNewCopies,
workspaces,
dataSourceId,
dataSourceTitle,
workspaces,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,20 +127,6 @@ function getClauseForType(
},
};
}
/**
* Gets the clause that will filter for the workspace.
*/
function getClauseForWorkspace(workspace: string) {
if (!workspace) {
return {};
}

return {
bool: {
must: [{ term: { workspaces: workspace } }],
},
};
}

/**
* Gets the clause that will filter for the workspace.
Expand Down

0 comments on commit 59cfdd6

Please sign in to comment.