Skip to content

Commit

Permalink
fix ref
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Apr 12, 2024
1 parent a60a0f4 commit 40090f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pygeoapi/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,13 +1043,13 @@ def describe_collections(self, request: Union[APIRequest, Any],
collection['links'].append({
'type': FORMAT_TYPES[F_JSON],
'rel': f'{OGC_RELTYPES_BASE}/schema',
'title': l10.translate('Schema of collection in JSON', request.locale), # noqa
'title': l10n.translate('Schema of collection in JSON', request.locale), # noqa
'href': f'{self.get_collections_url()}/{k}/schema?f={F_JSON}' # noqa
})
collection['links'].append({
'type': FORMAT_TYPES[F_HTML],
'rel': f'{OGC_RELTYPES_BASE}/schema',
'title': l10.translate('Schema of collection in HTML', request.locale), # noqa
'title': l10n.translate('Schema of collection in HTML', request.locale), # noqa
'href': f'{self.get_collections_url()}/{k}/schema?f={F_HTML}' # noqa
})

Expand Down
2 changes: 1 addition & 1 deletion pygeoapi/api/processes.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def delete_job(
'href': jobs_url,
'rel': 'up',
'type': FORMAT_TYPES[F_JSON],
'title': l10.translate('The job list for the current process', request.locale) # noqa
'title': l10n.translate('The job list for the current process', request.locale) # noqa
}]
}
else:
Expand Down

0 comments on commit 40090f5

Please sign in to comment.