update to 0.13, fix post to put
CICD / Explore-Gitea-Actions (push) Successful in 35s Details

This commit is contained in:
Isaac Johnson 2025-10-12 20:46:32 -05:00
parent dcba33de17
commit 3f081c5776
3 changed files with 5 additions and 5 deletions

View File

@ -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
#harbor.freshbrewed.science/library/vikunjamcp:0.13

View File

@ -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",

View File

@ -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
)