Skip to content

Commit 1abfc75

Browse files
Fix: Notify users about new task comment (#24)
Resolves #23 Co-authored-by: Miguel Ángel Martín <[email protected]>
1 parent c583c2a commit 1abfc75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/teamwork.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ teamwork::add_comment() {
2727
response=$(curl -X "POST" "$TEAMWORK_URI/projects/api/v1/tasks/$TEAMWORK_TASK_ID/comments.json" \
2828
-u "$TEAMWORK_API_TOKEN"':' \
2929
-H 'Content-Type: application/json; charset=utf-8' \
30-
-d "{ \"comment\": { \"body\": \"${body//\"/}\", \"notify\": \"\", \"content-type\": \"text\", \"isprivate\": false } }" )
30+
-d "{ \"comment\": { \"body\": \"${body//\"/}\", \"notify\": true, \"content-type\": \"text\", \"isprivate\": false } }" )
3131

3232
log::message "$response"
3333
}

0 commit comments

Comments
 (0)