Skip to content

Commit cc3b400

Browse files
committed
fix: typing error
1 parent d44d92b commit cc3b400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stac_fastapi/eodag/extensions/data_download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def get_data(
100100
item_id: str,
101101
asset_name: Optional[str],
102102
request: Request,
103-
) -> StreamingResponse:
103+
) -> StreamingResponse | RedirectResponse:
104104
"""Download an asset"""
105105

106106
dag = cast(EODataAccessGateway, request.app.state.dag) # type: ignore

0 commit comments

Comments
 (0)