Skip to content

Commit

Permalink
Remove delete images
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-b-iodigital authored May 17, 2024
1 parent 536da22 commit eb7704d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private async Task DeletePagesAsync(Guid indexableId)

private async Task DeleteImagesAsync(Guid indexable)
{
var recordsLeftToDelete = true;
/*var recordsLeftToDelete = true;
var request = GetImagesByInternalIdForDeletion.Request(new GetImagesByInternalIdForDeletion.GetImagesByInternalIdForDeletionQueryParams(indexable.ToString()));
Expand All @@ -214,7 +214,7 @@ private async Task DeleteImagesAsync(Guid indexable)
await _vectorizationService.BulkDeleteAsync(IndexingConstants.ImageClass, imageIdsToDelete);
}
} while (recordsLeftToDelete);
} while (recordsLeftToDelete);*/
}

private async Task CreateEntry(ApplicationDbContext db, string tenantId, WebsitePageIndexingDetails details)
Expand Down Expand Up @@ -711,4 +711,4 @@ private async Task<ImageCollection> GetImageCollection(Guid websitePageId, Scrap

return new ImageCollection(internalId, imageResults);
}
}
}

0 comments on commit eb7704d

Please sign in to comment.