Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 9a18c4b

Browse files
committed
Fix query name
1 parent 9563aaa commit 9a18c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/wordpress/pages/queryPageById.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const {gql} = require('@apollo/client')
22

33
// Query: retrieve page by specified identifier.
44
const queryPageById = gql`
5-
query GET_POST_BY_SLUG($id: ID!, $idType: PageIdType = URI) {
5+
query GET_PAGE_BY_SLUG($id: ID!, $idType: PageIdType = URI) {
66
page(id: $id, idType: $idType) {
77
blocksJSON
88
databaseId

0 commit comments

Comments
 (0)