From 4d9a563a02c1a3fa5b1fdea97246e96e46d9ab37 Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 25 Dec 2023 03:19:51 +0300 Subject: [PATCH] gql-fix-2 --- src/graphql/query/core/articles-load-search.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphql/query/core/articles-load-search.ts b/src/graphql/query/core/articles-load-search.ts index 8e36f08d..2a8f37af 100644 --- a/src/graphql/query/core/articles-load-search.ts +++ b/src/graphql/query/core/articles-load-search.ts @@ -1,8 +1,8 @@ import { gql } from '@urql/core' export default gql` - query LoadSearchQuery($params: LoadShoutsOptions) { - load_shouts_search(params: $params) { + query LoadShoutsSearchQuery($text: String!, $limit: Int, $offset: Int) { + load_shouts_search(text: $text, limit: $limit, offset: $offset) { score title slug