Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
janbaykara committed Dec 19, 2024
1 parent eda0018 commit 6f7db21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hub/management/commands/import_areas.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ def import_area(self, area, area_type, all_names):
defaults={
"mapit_id": area["id"],
"name": area["name"],
"mapit_type": area["type"],
"mapit_generation_low": area["generation_low"],
"mapit_generation_high": area["generation_high"],
"mapit_all_names": area_details.get("all_names"),
"mapit_type": area.get("type", None),
"mapit_generation_low": area.get("generation_low", None),
"mapit_generation_high": area.get("generation_high", None),
"mapit_all_names": area_details.get("all_names", None),
},
)

Expand Down

0 comments on commit 6f7db21

Please sign in to comment.