From 5e1a7d9f88a15a8c98808f7422f5e462bfa60f9a Mon Sep 17 00:00:00 2001 From: "Tirupatibalaji.DEV" <65179050+Tirupatibalaji-Dev@users.noreply.github.com> Date: Sun, 23 Jan 2022 13:44:00 +0530 Subject: [PATCH] fixed type Categories --- services/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/index.js b/services/index.js index 580f9fc..e9bea4b 100644 --- a/services/index.js +++ b/services/index.js @@ -41,7 +41,7 @@ export const getPosts = async () => { export const getCategories = async () => { const query = gql` - query GetGategories { + query GetCategories { categories { name slug