diff --git a/package-lock.json b/package-lock.json index a0b1b67..3aff2f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "backend-8tech", - "version": "4.2.5", + "version": "4.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "backend-8tech", - "version": "4.2.5", + "version": "4.2.6", "license": "UNLICENSED", "dependencies": { "@nestjs/common": "^9.4.3", diff --git a/package.json b/package.json index 54d7f99..43e2161 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "backend-8tech", - "version": "4.2.5", + "version": "4.2.6", "description": "", "author": "8tech", "private": true, diff --git a/src/users/user.repository.ts b/src/users/user.repository.ts index 41d958c..6ca61ae 100644 --- a/src/users/user.repository.ts +++ b/src/users/user.repository.ts @@ -150,7 +150,7 @@ export class UserRepository { payment: true, }, orderBy: { - createdAt: 'asc', + updatedAt: 'desc', }, }, _count: {