Junaidb commited on
Commit
95e6877
·
verified ·
1 Parent(s): 74bc027

Update ui.py

Browse files
Files changed (1) hide show
  1. ui.py +1 -1
ui.py CHANGED
@@ -151,7 +151,7 @@ def APP():
151
 
152
  @st.cache_data(ttl=10)
153
  def fetch_ops():
154
- response=requests.get(f"https://thexforce-combat-backend.hf.space/user/operations/{st.session_state.get('username')}",headers={
155
 
156
  "Content-Type":"application/json",
157
  "Authorization":f"Bearer {tok}"
 
151
 
152
  @st.cache_data(ttl=10)
153
  def fetch_ops():
154
+ response=requests.get(f"https://thexforce-combat-backend.hf.space/user/operations/{st.user.email}",headers={
155
 
156
  "Content-Type":"application/json",
157
  "Authorization":f"Bearer {tok}"