I need to know my user’s ID from the our external user database to connect an integration. Some context:
HBS
{{mount-widget widget="my-custom-widget" args=(hash user=user)}}
Widget
export default createWidget('topic-widget', {
html(attrs, state) {
console.log( attrs.user )
}
});
I have the user, but it looks like there’s no way to get the external ID from that object? How can I supplement this? Is there a way to have that property available on the model? Thanks!