Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/order accesses (#441)

Thomas Kaul9133ea38f31c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fa35c1fdd2..9170a354de 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Improved the landing page
+- Ordered the granted accesses by type
## 1.65.0 - 25.10.2021
diff --git a/apps/api/src/app/access/access.controller.ts b/apps/api/src/app/access/access.controller.ts
index f7e4dff4b9..bbf5423cc7 100644
--- a/apps/api/src/app/access/access.controller.ts
+++ b/apps/api/src/app/access/access.controller.ts
@@ -39,6 +39,7 @@ export class AccessController {
include: {
GranteeUser: true
},
+ orderBy: { granteeUserId: 'asc' },
where: { userId: this.request.user.id }
});