Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ class TaskData(BaseModel):
|
|
| 38 |
assignees: list[int] # List of user IDs
|
| 39 |
due_date: int # Unix timestamp in milliseconds
|
| 40 |
|
| 41 |
-
@app.post("/
|
| 42 |
async def create_task(request: Request):
|
| 43 |
data = await request.json()
|
| 44 |
logging.info(f"Received task data: {data}")
|
|
|
|
| 38 |
assignees: list[int] # List of user IDs
|
| 39 |
due_date: int # Unix timestamp in milliseconds
|
| 40 |
|
| 41 |
+
@app.post("/singletask")
|
| 42 |
async def create_task(request: Request):
|
| 43 |
data = await request.json()
|
| 44 |
logging.info(f"Received task data: {data}")
|