api no longer fails when no pilots or logbook entries

This commit is contained in:
2024-12-01 19:33:17 -06:00
parent 34aac62ec8
commit 4081b7258a

View File

@@ -15,6 +15,7 @@ export class PilotInfoService {
try {
const client: TableClient =
await this.tableService.getTableClient('Pilots');
console.log(client);
const entities = await client.listEntities({
queryOptions: {
filter: odata`PartitionKey eq 'pilot' and RowKey eq '${pilotId}'`