fix total omg_053 and add "createAt","lastUpdateAt","createFullname" 7controller

This commit is contained in:
AdisakKanthawilang 2024-02-05 11:51:03 +07:00
parent 84cc108c7b
commit 70cb1d7c11
7 changed files with 14 additions and 7 deletions

View file

@ -156,7 +156,8 @@ import {
@Get()
async listRank() {
const rank = await this.rankRepository.find({
select: ["id", "name" ],
select: ["id", "name" , "createdAt" , "lastUpdatedAt" , "createdFullName"],
order:{ createdAt:"ASC" }
});
if (!rank) {