Skip to content

Commit

Permalink
Update GithubDiscussionsSearch examples
Browse files Browse the repository at this point in the history
Change examples from filter by author to `filter` by `answered-by` as this has higher change of being a more common use case.
  • Loading branch information
jNullj committed Jul 7, 2023
1 parent d7b5c58 commit 3fb024f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/github/github-discussions-custom-search.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class GithubDiscussionsSearch extends BaseGithubDiscussionsSearch {
title: 'GitHub discussions custom search',
namedParams: {},
queryParams: {
query: 'repo:badges/shields is:answered author:chris48s',
query: 'repo:badges/shields is:answered answered-by:chris48s',
},
staticPreview: {
label: 'query',
Expand Down Expand Up @@ -93,7 +93,7 @@ class GithubRepoDiscussionsSearch extends BaseGithubDiscussionsSearch {
repo: 'shields',
},
queryParams: {
query: 'is:answered author:chris48s',
query: 'is:answered answered-by:chris48s',
},
staticPreview: {
label: 'query',
Expand Down

0 comments on commit 3fb024f

Please sign in to comment.