How to publish the data I created with entity service?

How to publish the data I created with entity service?

1 Like

I think you can set the publishedAt to a Date.now() timestamp. if publishedAt is null it’s in draft if it has a timestamp it’s considered published.
Hope this helps.

3 Likes

it worked thanks

1 Like