Browse Source
Feature/order accesses (#441)
* Order accesses
* Update changelog
pull/443/head
Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
0 deletions
-
CHANGELOG.md
-
apps/api/src/app/access/access.controller.ts
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
### Changed |
|
|
### Changed |
|
|
|
|
|
|
|
|
- Improved the landing page |
|
|
- Improved the landing page |
|
|
|
|
|
- Ordered the granted accesses by type |
|
|
|
|
|
|
|
|
## 1.65.0 - 25.10.2021 |
|
|
## 1.65.0 - 25.10.2021 |
|
|
|
|
|
|
|
|
|
@ -39,6 +39,7 @@ export class AccessController { |
|
|
include: { |
|
|
include: { |
|
|
GranteeUser: true |
|
|
GranteeUser: true |
|
|
}, |
|
|
}, |
|
|
|
|
|
orderBy: { granteeUserId: 'asc' }, |
|
|
where: { userId: this.request.user.id } |
|
|
where: { userId: this.request.user.id } |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|