We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c583c2a commit 1abfc75Copy full SHA for 1abfc75
1 file changed
src/teamwork.sh
@@ -27,7 +27,7 @@ teamwork::add_comment() {
27
response=$(curl -X "POST" "$TEAMWORK_URI/projects/api/v1/tasks/$TEAMWORK_TASK_ID/comments.json" \
28
-u "$TEAMWORK_API_TOKEN"':' \
29
-H 'Content-Type: application/json; charset=utf-8' \
30
- -d "{ \"comment\": { \"body\": \"${body//\"/}\", \"notify\": \"\", \"content-type\": \"text\", \"isprivate\": false } }" )
+ -d "{ \"comment\": { \"body\": \"${body//\"/}\", \"notify\": true, \"content-type\": \"text\", \"isprivate\": false } }" )
31
32
log::message "$response"
33
}
0 commit comments