mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
fix #11: unable to delete category
This commit is contained in:
@@ -171,7 +171,7 @@ export async function editCategoryAction(userId: string, code: string, data: Pri
|
||||
return { success: true, category }
|
||||
}
|
||||
|
||||
export async function deleteCategoryAction(code: string, userId: string) {
|
||||
export async function deleteCategoryAction(userId: string, code: string) {
|
||||
try {
|
||||
await deleteCategory(userId, code)
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user