spotty-amberS
Refine3y ago
3 replies
spotty-amber

How to pass a parameter in useCustomMutation hook?

I want to pass certain parameter in url endpoint while performing a custom mutation.

For example: I want to post a request with a url endpoint as /posts/?category=published, to get a data using that url we have a config.filters in useCustom hook but I am not sure if the mutation hook have the same feature.
Was this page helpful?