Enqueue global actions is not receiving the parameters

I don't if what I am doing wrong here but I can't receive my parameters passed in the global action from an enqueue
No description
No description
4 Replies
Benz
BenzOP8mo ago
There's also a bug report about it but i'm not sure if it's fixed on the global actions
ljspoor94
ljspoor948mo ago
You have to define whats in the object, you can’t just pass type: object https://docs.gadget.dev/guides/actions/code#adding-parameters-to-actions
Benz
BenzOP8mo ago
Ohhh that's why. I thought that's automatically handled. Thanks!
ljspoor94
ljspoor948mo ago
No worries

Did you find this page helpful?