updates to concierge bot to support adding services and routes
This commit is contained in:
@@ -16,7 +16,7 @@ export interface Region {
|
||||
readonly name: LocalizedString;
|
||||
}
|
||||
|
||||
export function getRegion(region_id: number) {
|
||||
export function getRegion(region_id: number): Region {
|
||||
if (!dataSets.loaded) loadModels();
|
||||
const data = dataSets.regions[String(region_id)];
|
||||
if (!data) throw new Error(`Region ID ${region_id} not found in reference data`);
|
||||
|
||||
Reference in New Issue
Block a user