Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Jun 25, 2020
1 parent 993ea7d commit 52e0d19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion optimade/server/routers/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_info(request: Request):
id=BaseInfoResource.schema()["properties"]["id"]["const"],
type=BaseInfoResource.schema()["properties"]["type"]["const"],
attributes=BaseInfoAttributes(
api_version=f"{__api_version__}",
api_version="{__api_version__}",
available_api_versions=[
{
"url": f"{base_url}/v{__api_version__.split('.')[0]}",
Expand Down
2 changes: 1 addition & 1 deletion optimade/server/routers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def meta_values(

return ResponseMeta(
query=ResponseMetaQuery(representation=f"{url_path}?{parse_result.query}"),
api_version=f"{__api_version__}",
api_version="{__api_version__}",
time_stamp=datetime.now(),
data_returned=data_returned,
more_data_available=more_data_available,
Expand Down

0 comments on commit 52e0d19

Please sign in to comment.