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