diff --git a/CHANGELOG.md b/CHANGELOG.md index fa35c1fdd..9170a354d 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 f7e4dff4b..bbf5423cc 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 } });