Skip to content

Commit

Permalink
Merge pull request #332 from fiskaltrust/#497-Add-migration-receipt-t…
Browse files Browse the repository at this point in the history
…o-German-Middleware

#497 - tests
  • Loading branch information
forsthug committed Jul 31, 2024
2 parents 722c7aa + 0b896f9 commit 3c8d7cb
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 3c8d7cb

Please sign in to comment.