sgbaird commited on
Commit
b416647
·
1 Parent(s): 75c6aae

refactor: Update handling of query parameters in app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -55,6 +55,5 @@ else:
55
  login()
56
 
57
  # To handle the callback
58
- query_params = st.query_params()
59
- if "code" in query_params:
60
- st.session_state.auth_code = query_params["code"][0]
 
55
  login()
56
 
57
  # To handle the callback
58
+ if "code" in st.query_params:
59
+ st.session_state.auth_code = st.query_params["code"][0]