Skip to content

Commit

Permalink
fix: updates indexer to v35 (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem authored Nov 16, 2023
1 parent 5970195 commit 6533cd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/devhub/entity/addon/blog/Feed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const fetchGraphQL = (operationsDoc, operationName, variables) => {
};

const queryName =
props.queryName ?? `bo_near_devhub_v34_posts_with_latest_snapshot`;
props.queryName ?? `bo_near_devhub_v35_posts_with_latest_snapshot`;

const query = `query DevhubPostsQuery($limit: Int = 100, $offset: Int = 0, $where: ${queryName}_bool_exp = {}) {
${queryName}(
Expand Down
2 changes: 1 addition & 1 deletion src/devhub/entity/addon/blog/editor/provider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const handleOnCancel = (v) => {

return (
<Layout
data={posts.body.data.bo_near_devhub_v34_posts_with_latest_snapshot || []}
data={posts.body.data.bo_near_devhub_v35_posts_with_latest_snapshot || []}
getData={handleGetData}
onChange={handleOnChange}
onSubmit={handleOnSubmit}
Expand Down
2 changes: 1 addition & 1 deletion src/devhub/entity/post/List.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (!href) {
const QUERYAPI_ENDPOINT = `https://near-queryapi.api.pagoda.co/v1/graphql/`;

const queryName =
props.queryName ?? `bo_near_devhub_v34_posts_with_latest_snapshot`;
props.queryName ?? `bo_near_devhub_v35_posts_with_latest_snapshot`;

const query = `query DevhubPostsQuery($limit: Int = 100, $offset: Int = 0, $where: ${queryName}_bool_exp = {}) {
${queryName}(
Expand Down

0 comments on commit 6533cd4

Please sign in to comment.