Skip to content

Commit 1d6ebd5

Browse files
Clean up documentation
1 parent a7f2ae8 commit 1d6ebd5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

api/api/utils/image_proxy/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ async def get(
112112
request_config: RequestConfig = RequestConfig(),
113113
) -> HttpResponse:
114114
"""
115-
Retrieve proxied image from site accelerator.
115+
Retrieve the proxied image.
116116
117117
Proxy an image through Photon if its file type is supported, else return the
118118
original image if the file type is SVG. Otherwise, raise an exception.
@@ -141,7 +141,6 @@ async def get(
141141
)
142142

143143
try:
144-
# todo: refactor to use aiohttp shared session
145144
session = await get_aiohttp_session()
146145

147146
upstream_response = await session.get(

0 commit comments

Comments
 (0)