Look for identifiers in PR descriptions as well

This commit is contained in:
Timothy Andrew 2021-09-09 23:18:38 +05:30
parent fe31284cd8
commit d6aa8192ed
No known key found for this signature in database
GPG Key ID: ABD64509E977B249

View File

@ -44,7 +44,7 @@ pub async fn fetch_pull_requests_matching(
&credentials,
"https://api.github.com/search/issues",
)
.query(&[("q", format!("\"{}\" in:title", pattern))]);
.query(&[("q", format!("\"{}\" in:title,body", pattern))]);
let items = request.send().await?.json::<SearchResponse>().await?.items;