Fixed getLocation() not getting location correctly

(cherry picked from commit d7798d3afa)
This commit is contained in:
Dev 2024-07-05 16:37:17 +01:00
parent c3e9236759
commit daeae9687a

View File

@ -116,7 +116,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));