Skip to content

Commit a21f2f0

Browse files
committed
Consistent status assignment (code vs. string)
1 parent 618644a commit a21f2f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

phylesystem_api/phylesystem_api/views/default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def fetch_and_cache(url):
180180
return Response(
181181
headers=fetched.headers,
182182
body=fetched.text,
183-
status=fetched.status_code, # keep the returned status code!
183+
status_code=fetched.status_code, # keep the returned status code!
184184
charset="UTF-8",
185185
content_type=ct,
186186
)

0 commit comments

Comments
 (0)