diff options
Diffstat (limited to 'src/services/graphql/fetchers/thematics/fetch-thematics-list.ts')
| -rw-r--r-- | src/services/graphql/fetchers/thematics/fetch-thematics-list.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/services/graphql/fetchers/thematics/fetch-thematics-list.ts b/src/services/graphql/fetchers/thematics/fetch-thematics-list.ts index 7e1e582..5dff5e1 100644 --- a/src/services/graphql/fetchers/thematics/fetch-thematics-list.ts +++ b/src/services/graphql/fetchers/thematics/fetch-thematics-list.ts @@ -12,13 +12,13 @@ export type ThematicsListResponse = { thematics: Nullable<GraphQLConnection<WPThematicPreview>>; }; -const thematicsListQuery = `query ThematicsList($after: String, $before: String, $first: Int, $last: Int, $orderby: [PostObjectsConnectionOrderbyInput], $search: String, $title: String) { +const thematicsListQuery = `query ThematicsList($after: String, $before: String, $first: Int, $last: Int, $orderby: [PostObjectsConnectionOrderbyInput], $search: String, $title: String, $notIn: [ID]) { thematics( after: $after before: $before first: $first last: $last - where: {orderby: $orderby, search: $search, title: $title} + where: {orderby: $orderby, search: $search, title: $title, notIn: $notIn} ) { edges { cursor |
