From 6e7ee2647eb23a2d8fea5d462958564fcf6711da Mon Sep 17 00:00:00 2001 From: Brandon Oldenhof Date: Fri, 27 May 2022 15:14:21 +0200 Subject: [PATCH] Disabled notifications for comments --- src/teamwork.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/teamwork.sh b/src/teamwork.sh index dda2fe93..4f5eddd4 100644 --- a/src/teamwork.sh +++ b/src/teamwork.sh @@ -94,7 +94,7 @@ teamwork::add_comment() { response=$(curl -X "POST" "$TEAMWORK_URI/projects/api/v1/tasks/$TEAMWORK_TASK_ID/comments.json" \ -u "$TEAMWORK_API_TOKEN"':' \ -H 'Content-Type: application/json; charset=utf-8' \ - -d "{ \"comment\": { \"body\": \"${body//\"/}\", \"notify\": true, \"content-type\": \"text\", \"isprivate\": false } }" ) + -d "{ \"comment\": { \"body\": \"${body//\"/}\", \"notify\": false, \"content-type\": \"text\", \"isprivate\": false } }" ) log::message "$response" }