fix: change find order of category to asc
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user