From 6320f4d7dbf51e751101c3cf7e8957e76c559177 Mon Sep 17 00:00:00 2001 From: kittapath Date: Mon, 11 Nov 2024 18:08:13 +0700 Subject: [PATCH] no message --- src/controllers/OrganizationController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/OrganizationController.ts b/src/controllers/OrganizationController.ts index 37afc239..e1d78f9e 100644 --- a/src/controllers/OrganizationController.ts +++ b/src/controllers/OrganizationController.ts @@ -62,7 +62,7 @@ export class OrganizationController extends Controller { async GetHistory() { const orgRevision = await this.orgRevisionRepository.find({ select: ["id", "orgRevisionName", "orgRevisionIsCurrent", "createdAt", "orgRevisionIsDraft"], - order: { createdAt: "ASC" }, + order: { createdAt: "DESC" }, }); // if (!orgRevision) { // return new HttpSuccess([]);