I am using https://docs.amity.co/social/web/posts#create-a-custom-post for creating user post.
I’m trying to update the custom post following https://docs.amity.co/social/web/posts#update-post
const post = PostRepository.updatePost({
postId: 'post123',
data: {
text: 'hello!',
otherField: 'anything',
},
});
But I got the error message )
ASCError: ASCWebSDK: Parameters validation error!
Is there any way to update a custom post properly?