u
This commit is contained in:
@@ -361,9 +361,9 @@ export const category = {
|
||||
},
|
||||
|
||||
/**
|
||||
* PATCH /api/category/:id [VORSCHLAG — Route/response fehlt noch in dashback]
|
||||
* PATCH /api/category/:id
|
||||
* Body: { parentId } — moves the category under a new parent.
|
||||
* → 200 { category: { id, parentId, name, slug } }
|
||||
* → 200 { category: { id, parentId, sort } } (kein name/slug im Response)
|
||||
*/
|
||||
move(categoryId, parentId) {
|
||||
return http(`/api/category/${categoryId}`, {
|
||||
|
||||
Reference in New Issue
Block a user