updateCategory(id: string,): Category
Applies req to category id, for PUT /api/categories/:id, and returns
the category as it now is. Fields req leaves out keep their value.
updateCategory(id: string,): Category
Applies req to category id, for PUT /api/categories/:id, and returns
the category as it now is. Fields req leaves out keep their value.
import { updateCategory } from "api/services/category-service.ts";