Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ def create_task(task: TaskData):
|
|
| 91 |
# Function to get task name by task ID
|
| 92 |
def get_task_name(task_id):
|
| 93 |
url = f"https://api.clickup.com/api/v2/task/{task_id}" # Replace with actual ClickUp API URL
|
| 94 |
-
headers = {"Authorization": "Bearer
|
| 95 |
|
| 96 |
response = requests.get(url, headers=headers)
|
| 97 |
|
|
|
|
| 91 |
# Function to get task name by task ID
|
| 92 |
def get_task_name(task_id):
|
| 93 |
url = f"https://api.clickup.com/api/v2/task/{task_id}" # Replace with actual ClickUp API URL
|
| 94 |
+
headers = {"Authorization": "Bearer ACCESS_TOKEN"}
|
| 95 |
|
| 96 |
response = requests.get(url, headers=headers)
|
| 97 |
|