diff --git a/project/src/services/DatabaseService.ts b/project/src/services/DatabaseService.ts index 11b242cf..96c1da6c 100644 --- a/project/src/services/DatabaseService.ts +++ b/project/src/services/DatabaseService.ts @@ -117,7 +117,7 @@ export class DatabaseService public getLocation(locationId: string): ILocation { const locations = this.getLocations(); - const desiredLocation = locations[locationId]; + const desiredLocation = locations[locationId.toLowerCase()]; if (!desiredLocation) { throw new Error(this.localisationService.getText("database-no_location_found_with_id", locationId));