sgbaird commited on
Commit
3351cf0
·
1 Parent(s): c5cda07

refactor: Update handling of query parameters in app.py

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