diff --git a/Dockerfile b/Dockerfile index cddba7a..6a1cc2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,4 @@ RUN pip install --no-cache-dir -r requirements.txt COPY . . CMD ["python", "main.py"] -#harbor.freshbrewed.science/library/vikunjamcp:0.12 \ No newline at end of file +#harbor.freshbrewed.science/library/vikunjamcp:0.13 \ No newline at end of file diff --git a/gemini-extension.json b/gemini-extension.json index 9ac19dd..e162f36 100644 --- a/gemini-extension.json +++ b/gemini-extension.json @@ -1,6 +1,6 @@ { "name": "vikunja", - "version": "1.0.12", + "version": "1.0.13", "mcpServers": { "nodeServer": { "command": "docker", @@ -14,7 +14,7 @@ "VIKUNJA_USERNAME", "-e", "VIKUNJA_PASSWORD", - "harbor.freshbrewed.science/library/vikunjamcp:0.12" + "harbor.freshbrewed.science/library/vikunjamcp:0.13" ], "env": { "VIKUNJA_URL": "$VIKUNJA_URL", diff --git a/main.py b/main.py index c994f34..bce0ada 100644 --- a/main.py +++ b/main.py @@ -174,10 +174,10 @@ def comment_task(task_id: int, description: str): if not (description or "").strip(): return "Comment description cannot be empty." - payload = {"text": description} + payload = {"comment": description} try: - response = session.post( + response = session.put( f"{VIKUNJA_URL}/api/v1/tasks/{task_id}/comments", json=payload )