Increased limit on database cards shown
Browse files- api_client.py +1 -1
api_client.py
CHANGED
|
@@ -68,7 +68,7 @@ def health_check() -> bool:
|
|
| 68 |
|
| 69 |
|
| 70 |
@st.cache_data(ttl=300)
|
| 71 |
-
def get_all_cards(limit: int =
|
| 72 |
try:
|
| 73 |
response = requests.get(f"{BACKEND_URL}/cards", params={"limit": limit}, timeout=10)
|
| 74 |
response.raise_for_status()
|
|
|
|
| 68 |
|
| 69 |
|
| 70 |
@st.cache_data(ttl=300)
|
| 71 |
+
def get_all_cards(limit: int = 100) -> list:
|
| 72 |
try:
|
| 73 |
response = requests.get(f"{BACKEND_URL}/cards", params={"limit": limit}, timeout=10)
|
| 74 |
response.raise_for_status()
|