Fix call in restful for categories