Spaces:
Sleeping
Sleeping
Update app/dashboard.py
Browse files- app/dashboard.py +1 -1
app/dashboard.py
CHANGED
|
@@ -130,7 +130,7 @@ with tab2:
|
|
| 130 |
if contract:
|
| 131 |
with st.spinner("Escaneando seguridad..."):
|
| 132 |
try:
|
| 133 |
-
|
| 134 |
res_w3 = r.json()
|
| 135 |
st.divider()
|
| 136 |
status_w3 = res_w3.get("status", "UNKNOWN")
|
|
|
|
| 130 |
if contract:
|
| 131 |
with st.spinner("Escaneando seguridad..."):
|
| 132 |
try:
|
| 133 |
+
r = requests.get(f"{BACKEND_URL}/audit_contract/{contract}", timeout=120)
|
| 134 |
res_w3 = r.json()
|
| 135 |
st.divider()
|
| 136 |
status_w3 = res_w3.get("status", "UNKNOWN")
|