Feature/33 api fails when no pilots or logbook entries #35
@@ -15,6 +15,7 @@ export class PilotInfoService {
|
|||||||
try {
|
try {
|
||||||
const client: TableClient =
|
const client: TableClient =
|
||||||
await this.tableService.getTableClient('Pilots');
|
await this.tableService.getTableClient('Pilots');
|
||||||
|
console.log(client);
|
||||||
const entities = await client.listEntities({
|
const entities = await client.listEntities({
|
||||||
queryOptions: {
|
queryOptions: {
|
||||||
filter: odata`PartitionKey eq 'pilot' and RowKey eq '${pilotId}'`
|
filter: odata`PartitionKey eq 'pilot' and RowKey eq '${pilotId}'`
|
||||||
|
|||||||
Reference in New Issue
Block a user