Skip to content

Commit

Permalink
Merge branch 'master' into fix/400-queryables-content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
duckontheweb authored Jul 10, 2022
2 parents 700ce48 + 52438a1 commit 39303bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stac_fastapi/pgstac/stac_fastapi/pgstac/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async def get_collection(self, collection_id: str, **kwargs) -> Collection:
)
collection = await conn.fetchval(q, *p)
if collection is None:
raise NotFoundError(f"Collection {id} does not exist.")
raise NotFoundError(f"Collection {collection_id} does not exist.")

collection["links"] = await CollectionLinks(
collection_id=collection_id, request=request
Expand Down

0 comments on commit 39303bd

Please sign in to comment.