From e96f0e3bed083b225a90d9989b0050c4102ec697 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 2 Aug 2023 21:24:12 +0100 Subject: [PATCH] Fix bug in staffLdb type --- package.json | 2 +- src/owlboardApi/staffLdb.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 482e4b7..b5c87bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@owlboard/ts-types", - "version": "0.0.4", + "version": "0.0.5", "description": "Declares Typescript types for the OwlBoard stack", "main": "index.ts", "scripts": { diff --git a/src/owlboardApi/staffLdb.ts b/src/owlboardApi/staffLdb.ts index 9cea52b..196f164 100644 --- a/src/owlboardApi/staffLdb.ts +++ b/src/owlboardApi/staffLdb.ts @@ -24,7 +24,7 @@ export interface TrainServices { serviceIsSupressed?: string; origin: ServiceLocation[]; destination: ServiceLocation[]; - isCancelled: string; + isCancelled?: string; cancelReason?: string; delayReason?: string; arrivalType?: string;