How to update single component in User?

@sunnyson

First of all, thank you very much for your reply!

The component is a single component. Basically I’m trying to group every possible achievement the user may have in a component instead of heaving separate fields in the User model.

That’s very confusing… I thought I’m updating the component’s fields in the User model.

Yes, it is being called from a controller and yes, ctx.state.user.achievements.id can be outputted before I call the updateUser service.

Last time I tried to run this scenario it worked again. I’ll try to reset the data and run the scenario again to see if it still works.