diff --git a/src/c3nav/mapdata/models/locations.py b/src/c3nav/mapdata/models/locations.py index a7bbc8e6..b9bc9904 100644 --- a/src/c3nav/mapdata/models/locations.py +++ b/src/c3nav/mapdata/models/locations.py @@ -194,7 +194,7 @@ class AreaLocation(LocationModelMixin, GeometryMapItemWithLevel): location_type = data['location_type'] if location_type not in dict(cls.LOCATION_TYPES): raise ValueError('Invalid location type') - kwargs['location_tyoe'] = location_type + kwargs['location_type'] = location_type if 'can_search' not in data: raise ValueError('Missing can_search')