We use the grapqhl module and also a custom REST API to decouple our site, and the "moderation_state" field for the workflow we create always returns "published"
"moderation_state": [
{
"value": "published"
}
],
Any ideas on how we can fix this issue and have the correct value returned via API and Graphql?
Active
2.0
Code