Skip to content

Commit 4511e8b

Browse files
change Single on First
1 parent e352ad2 commit 4511e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slo/src/EF/SloTableContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ int readTimeout
7777
{
7878
await using var dbContext = client();
7979
await dbContext.SloEntities
80-
.SingleAsync(table => table.Guid == select.Guid && table.Id == select.Id);
80+
.FirstAsync(table => table.Guid == select.Guid && table.Id == select.Id);
8181

8282
return (0, StatusCode.Success, null);
8383
}

0 commit comments

Comments
 (0)