Skip to content

Commit

Permalink
fix: surround title with escaped quotes in discussion GraphQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
LangLangBart committed Jul 4, 2024
1 parent 384e3ce commit 09c0fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh-notify
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ process_discussion() {
command gh api graphql \
--cache=100h \
--raw-field query="$graphql_query_discussion" \
--raw-field filter="$title in:title updated:>=$updated_short repo:$repo_full_name" \
--raw-field filter="\"$title\" in:title updated:>=$updated_short repo:$repo_full_name" \
--jq '.data.search.nodes | "#\(.[].number)"' || die "Failed GraphQL discussion query."
}

Expand Down

0 comments on commit 09c0fed

Please sign in to comment.