Skip to content

Commit

Permalink
fix(Azure): Set id to lower invariant when querying Azure Table. (bag…
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaksh01 authored Jun 25, 2024
1 parent b3ba409 commit 44d14d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BaGetter.Azure/Table/TablePackageDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public async Task<Package> FindOrNullAsync(
bool includeUnlisted,
CancellationToken cancellationToken)
{
var result = await _table.GetEntityIfExistsAsync<PackageEntity>(id, version.ToNormalizedString(), cancellationToken: cancellationToken);
var result = await _table.GetEntityIfExistsAsync<PackageEntity>(id.ToLowerInvariant(), version.ToNormalizedString(), cancellationToken: cancellationToken);

if (!result.HasValue)
{
Expand Down

0 comments on commit 44d14d7

Please sign in to comment.