Skip to content

Commit

Permalink
force all to string, use owner as contact_role
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jan 8, 2025
1 parent 0cc79ca commit 193f592
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions metadata_catalogue/datasets/csw/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ def get_config(self, url=""):
"provider_name": str(info.provider),
"provider_url": "",
"contact_name": str(info.contact),
"contact_position": safe_get(info.contact, "position"),
"contact_address": safe_get(info.contact, "delivery_point"),
"contact_city": safe_get(info.contact, "city"),
"contact_position": str(safe_get(info.contact, "position")),
"contact_address": str(safe_get(info.contact, "delivery_point")),
"contact_city": str(safe_get(info.contact, "city")),
"contact_stateorprovince": str(safe_get(info.contact, "country")),
"contact_postalcode": str(safe_get(info.contact, "postal_code")),
"contact_country": str(safe_get(info.contact, "country")),
"contact_phone": safe_get(info.contact, "phone"),
"contact_fax": safe_get(info.contact, "phone"),
"contact_email": safe_get(info.contact, "email"),
"contact_phone": str(safe_get(info.contact, "phone")),
"contact_fax": str(safe_get(info.contact, "phone")),
"contact_email": str(safe_get(info.contact, "email")),
"contact_url": "",
"contact_hours": info.contact_hours or "",
"contact_instructions": info.contact_instructions or "",
"contact_role": "pointOfContact",
"contact_hours": str(info.contact_hours) or "",
"contact_instructions": str(info.contact_instructions) or "",
"contact_role": "owner",
},
"repository": {
"source": settings.CSW["repository"],
Expand Down

0 comments on commit 193f592

Please sign in to comment.