Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -43,7 +43,7 @@ async def create_list_from_template(request: Request):
|
|
| 43 |
list_id = result.get("id")
|
| 44 |
|
| 45 |
# Step 2: Fetch the list details
|
| 46 |
-
get_url = f"https://api.clickup.com/api/v2/list/{list_id}"
|
| 47 |
get_response = requests.get(get_url, headers=headers)
|
| 48 |
|
| 49 |
if get_response.status_code == 200:
|
|
|
|
| 43 |
list_id = result.get("id")
|
| 44 |
|
| 45 |
# Step 2: Fetch the list details
|
| 46 |
+
get_url = f"https://api.clickup.com/api/v2/list/{list_id}?include_url=true"
|
| 47 |
get_response = requests.get(get_url, headers=headers)
|
| 48 |
|
| 49 |
if get_response.status_code == 200:
|