grand commit
This commit is contained in:
@@ -15,3 +15,9 @@ export const getCategoryBySlug = async (data: {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
export const getCategoryLocalesById = async (id: number) => {
|
||||
return db.categoryLocale.findMany({
|
||||
where: {categoryId: id}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user