This commit is contained in:
AdisakKanthawilang 2024-09-10 10:24:06 +07:00
parent 4b6fd79264
commit d4dffef020
2 changed files with 2 additions and 2 deletions

View file

@ -3069,7 +3069,7 @@ export class ProfileEmployeeController extends Controller {
const profileInformation = await this.informationHistoryRepository.find({
where: { profileEmployeeId: profileEmployeeId },
order: {
createdAt: "ASC",
createdAt: "DESC",
},
});
return new HttpSuccess(profileInformation);

View file

@ -2951,7 +2951,7 @@ export class ProfileEmployeeTempController extends Controller {
const profileInformation = await this.informationHistoryRepository.find({
where: { profileEmployeeId: profileEmployeeId },
order: {
createdAt: "ASC",
createdAt: "DESC",
},
});
return new HttpSuccess(profileInformation);