Skip to content

Commit c583c2a

Browse files
authored
Fixed duplication of notifications by event (#22)
1 parent bf14f3d commit c583c2a

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
@@ -7,7 +7,7 @@ teamwork::get_task_id_from_body() {
77
pat='tasks\/([0-9]{1,})'
88
while [[ $body =~ $pat ]]; do
99
task_ids+=( "${BASH_REMATCH[1]}" )
10-
body=${body#*"${BASH_REMATCH[1]}"}
10+
body=${body#*"${BASH_REMATCH[0]}"}
1111
done
1212

1313
local task_ids_str

0 commit comments

Comments
 (0)