Skip to content

Commit

Permalink
Fixed duplication of notifications by event (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
elevinskii authored Sep 22, 2020
1 parent bf14f3d commit c583c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/teamwork.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ teamwork::get_task_id_from_body() {
pat='tasks\/([0-9]{1,})'
while [[ $body =~ $pat ]]; do
task_ids+=( "${BASH_REMATCH[1]}" )
body=${body#*"${BASH_REMATCH[1]}"}
body=${body#*"${BASH_REMATCH[0]}"}
done

local task_ids_str
Expand Down

0 comments on commit c583c2a

Please sign in to comment.