From 684a9b588a0a8f3a4d243b81d4f76ce15c6e4227 Mon Sep 17 00:00:00 2001 From: Moe Date: Tue, 18 Jun 2024 19:34:41 +0100 Subject: [PATCH] Set id to lower invariant when querying Azure Table. --- src/BaGetter.Azure/Table/TablePackageDatabase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BaGetter.Azure/Table/TablePackageDatabase.cs b/src/BaGetter.Azure/Table/TablePackageDatabase.cs index 73337254..9bf5341d 100644 --- a/src/BaGetter.Azure/Table/TablePackageDatabase.cs +++ b/src/BaGetter.Azure/Table/TablePackageDatabase.cs @@ -158,7 +158,7 @@ public async Task FindOrNullAsync( bool includeUnlisted, CancellationToken cancellationToken) { - var result = await _table.GetEntityIfExistsAsync(id, version.ToNormalizedString(), cancellationToken: cancellationToken); + var result = await _table.GetEntityIfExistsAsync(id.ToLowerInvariant(), version.ToNormalizedString(), cancellationToken: cancellationToken); if (!result.HasValue) {