diff --git a/lib/api.js b/lib/api.js index 09aa9312..004ed7a7 100644 --- a/lib/api.js +++ b/lib/api.js @@ -300,8 +300,6 @@ export async function getAllPostsWithSlug(postType, pageSize = 20) { * @returns */ export async function getPost(slug, preview, type) { - console.log('slug', slug) - console.log('type', type) const data = await fetchAPI(singlePostQuery, { preview, variables: { @@ -310,7 +308,6 @@ export async function getPost(slug, preview, type) { type: type ? type : "article", }, }); -console.log('data', data) data.morePosts = data.relatedPosts; return data; }