This commit is contained in:
AdisakKanthawilang 2024-05-15 15:29:12 +07:00
parent 67c54e3273
commit c9c14f052b
8 changed files with 18 additions and 6 deletions

View file

@ -41,7 +41,7 @@ export class PrefixController extends Controller {
async Get() {
const _prefix = await this.prefixRepository.find({
select: ["id", "name", "createdAt", "lastUpdatedAt", "createdFullName", "lastUpdateFullName"],
order: { createdAt: "ASC" },
order: { name: "ASC" },
});
// if (!_prefix) {
// return new HttpSuccess([]);