I've published two documents on the CMS and I'm fetching + rendering them inside my Next.js application.
I want to render only those documents which are in the published stage, and not in draft.
When I fetch the content using GraphQL in the API playground, the stage attribute is always in the draft stage, even after I published it.
GraphQL query
query getBlogStage{
portfolioBlogs {
id
title
stage
}
}
Output

In the specific content, it's also showing the published stage

I would appreciate if anyone could find possible fix for this.