fix(data/delete): delete objects from search index

This commit is contained in:
Aminejv 2022-09-12 12:36:17 +01:00
parent ffce66e8f8
commit a7daf39dd7

View File

@ -139,7 +139,7 @@ export default async (req, res) => {
await Data.deleteFilesByIds({ ownerId: id, ids }); await Data.deleteFilesByIds({ ownerId: id, ids });
SearchManager.deleteFile(files); SearchManager.deleteFile(objects);
ViewerManager.hydratePartial(id, { slates: true, library: true }); ViewerManager.hydratePartial(id, { slates: true, library: true });