Skip to content

Commit

Permalink
remove temp workaround for setting string3
Browse files Browse the repository at this point in the history
  • Loading branch information
JackLewis-digirati committed Jan 13, 2025
1 parent fbc6f26 commit c9fdd04
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/IIIFPresentation/API/Features/Manifest/ManifestService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,6 @@ await canvasPaintingResolver.GenerateCanvasPaintings(request.CustomerId, request

if (!assets.IsNullOrEmpty())
{
UpdateAssetWithManifestId(assets, manifestId);

try
{
var batches = await dlcsApiClient.IngestAssets(request.CustomerId,
Expand All @@ -258,14 +256,6 @@ await canvasPaintingResolver.GenerateCanvasPaintings(request.CustomerId, request
return (saveErrors, dbManifest);
}

private static void UpdateAssetWithManifestId(List<JObject?> assets, string manifestId)
{
foreach (var asset in assets.OfType<JObject>())
{
asset["string3"] = manifestId;
}
}

private async Task<int?> CreateSpaceIfRequired(int customerId, string manifestId, bool createSpace,
CancellationToken cancellationToken)
{
Expand Down

0 comments on commit c9fdd04

Please sign in to comment.