Skip to content

Commit

Permalink
FIX: Download file doesn't work if blob member is not specified (#2426)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpochobradsky committed Jan 25, 2024
1 parent 25d7a4c commit c6e3e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/Origam.Server/Controller/BlobController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public IActionResult Get(Guid token)
Stream resultStream;
MemoryStream memoryStream;
var processBlobField
= string.IsNullOrEmpty(blobDownloadRequest.BlobMember)
= !string.IsNullOrEmpty(blobDownloadRequest.BlobMember)
&& (blobDownloadRequest.Row[
blobDownloadRequest.BlobMember] != DBNull.Value);
if((blobDownloadRequest.BlobLookupId != Guid.Empty)
Expand Down

0 comments on commit c6e3e48

Please sign in to comment.