Skip to content

Commit

Permalink
status_code
Browse files Browse the repository at this point in the history
  • Loading branch information
NotChristianGarcia committed Nov 22, 2024
1 parent 517b08d commit fecb55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/api_pods_podid_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def callback(pod_id_net, request: Request):
response.set_cookie("token", token, domain=domain, secure=True)
response.set_cookie("username", username, domain=domain, secure=True)

response = RedirectResponse(f"https://{tapis_domain}/v3/pods/{pod_id_net}", code=302)
response = RedirectResponse(url=f"https://{tapis_domain}/v3/pods/{pod_id_net}", status_code=302)

return response
except Exception as e:
Expand Down

0 comments on commit fecb55f

Please sign in to comment.