Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
forsthug committed Jul 31, 2024
1 parent 0944b48 commit 0b896f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public async Task<int> CountAsync()
public async Task<ftQueueItem> GetLastQueueItemAsync()
{
var result = _tableClient.QueryAsync<TableEntity>(select: new string[] { "PartitionKey", "RowKey" });
var lastEntity = await result.LastAsync();
var lastEntity = await result.FirstAsync();

return MapToStorageEntity(await _tableClient.GetEntityAsync<TableEntity>(lastEntity.PartitionKey, lastEntity.RowKey));
}
Expand Down

0 comments on commit 0b896f9

Please sign in to comment.