fix: change find order of category to asc

This commit is contained in:
mahyargdz
2025-03-09 23:21:35 +03:30
parent dff944ef90
commit fdf1bc908c
@@ -196,7 +196,7 @@ export class DanakServicesService {
async getCategoriesUserSide() { async getCategoriesUserSide() {
const categories = await this.danakServicesCategoryRepository.find({ const categories = await this.danakServicesCategoryRepository.find({
where: { isActive: true, deletedAt: IsNull() }, where: { isActive: true, deletedAt: IsNull() },
order: { order: "DESC" }, order: { order: "ASC" },
}); });
return { return {
categories, categories,