Skip to content

Commit

Permalink
state
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Feb 1, 2024
1 parent 6678938 commit 539ef10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions titiler/cmr/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def tiles_endpoint(
tms=tms,
reader=reader,
reader_options=reader_options,
auth=request.app.cmr_auth,
auth=request.app.state.cmr_auth,
) as src_dst:
image = src_dst.tile(
x,
Expand Down Expand Up @@ -742,7 +742,7 @@ def tilejson_endpoint( # type: ignore
# TODO: can we get metadata from the collection?
with CMRBackend(
collectionId,
auth=request.app.cmr_auth,
auth=request.app.state.cmr_auth,
tms=tms,
) as src_dst:
minx, miny, maxx, maxy = zip(
Expand Down

0 comments on commit 539ef10

Please sign in to comment.