fix: saknad POST /api/recipes proxy och revalidatePath for admin/products

This commit is contained in:
Nils-Johan Gynther
2026-04-15 22:11:57 +02:00
parent 47d1aafd9e
commit 940c8b52ee
2 changed files with 29 additions and 0 deletions
+2
View File
@@ -21,6 +21,8 @@ export async function createProduct(formData: FormData) {
}
revalidatePath('/inventory');
revalidatePath('/admin/products');
revalidatePath('/baslager');
}
export async function createInventoryItem(formData: FormData) {