Skip to content

Commit

Permalink
fix geoapi serializer country
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jan 9, 2025
1 parent 2e82608 commit ff02f68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions metadata_catalogue/datasets/geoapi/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ def get_config(self, url=""):
"position": safe_get(info.contact, "position"),
"address": safe_get(info.contact, "delivery_point"),
"city": safe_get(info.contact, "city"),
"stateorprovince": safe_get(info.contact, "country"),
"stateorprovince": str(safe_get(info.contact, "country")),
"postalcode": safe_get(info.contact, "postal_code"),
"country": str(safe_get(info.contact, "country")),
"phone": safe_get(info.contact, "phone"),
"fax": safe_get(info.contact, "phone"),
"phone": str(safe_get(info.contact, "phone")),
"fax": "",
"email": safe_get(info.contact, "email"),
"url": "",
"hours": info.contact_hours or "",
"instructions": info.contact_instructions or "",
"role": "pointOfContact",
"role": "owner",
},
},
"resources": resources,
Expand Down

0 comments on commit ff02f68

Please sign in to comment.