Skip to content

Commit 20be0a9

Browse files
committed
Well that's a pretty big mistake...
1 parent bf147fd commit 20be0a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/Discapp.Worker/Worker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private async Task ProcessQueue(ApplicationDbContext dbContext, CancellationToke
6161

6262
DiscogsRelease? releaseData = await response.Content.ReadFromJsonAsync<DiscogsRelease>();
6363

64-
if (releaseData?.Thumb != null)
64+
if (!string.IsNullOrEmpty(releaseData?.Thumb))
6565
{
6666
string imageUrl = releaseData.Thumb;
6767
byte[] imageBytes = await GetApiResponseWithRetryAsync(imageUrl, 3, 1000, stoppingToken).Result.Content.ReadAsByteArrayAsync(stoppingToken);

0 commit comments

Comments
 (0)