This commit is contained in:
seb
2026-08-02 19:02:10 +02:00
parent b890843445
commit e96bfb0624
4 changed files with 8 additions and 6 deletions

View File

@@ -54,6 +54,7 @@ export default function createUnderParent(pool) {
parentId: resolvedParentId,
sort,
name,
slug,
};
} catch (err) {
try {

View File

@@ -36,6 +36,6 @@ export default function rename(pool) {
throw new Error('Category not found');
}
return { id, name: cleaned };
return { id, name: cleaned, slug };
};
}