grand commit

This commit is contained in:
2025-02-07 08:34:42 +02:00
parent f594f001f6
commit c6c34f0453
53 changed files with 1283 additions and 625 deletions

View File

@@ -15,3 +15,9 @@ export const getCategoryBySlug = async (data: {
}
})
}
export const getCategoryLocalesById = async (id: number) => {
return db.categoryLocale.findMany({
where: {categoryId: id}
})
}