Browse Source
Task/remove deprecated transaction count in get admin endpoint (#6281)
* Remove deprecated transaction count
* Update changelog
pull/6282/head
Thomas Kaul
4 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
1 additions and
5 deletions
-
CHANGELOG.md
-
apps/api/src/app/admin/admin.service.ts
-
libs/common/src/lib/interfaces/admin-data.interface.ts
|
|
|
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Removed the deprecated `transactionCount` in the endpoint `GET api/v1/admin` |
|
|
|
- Upgraded `stripe` from version `20.1.0` to `20.3.0` |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
@ -186,7 +186,6 @@ export class AdminService { |
|
|
|
dataProviders, |
|
|
|
settings, |
|
|
|
userCount, |
|
|
|
transactionCount: activitiesCount, |
|
|
|
version: environment.version |
|
|
|
}; |
|
|
|
} |
|
|
|
|
|
|
|
@ -7,10 +7,6 @@ export interface AdminData { |
|
|
|
useForExchangeRates: boolean; |
|
|
|
})[]; |
|
|
|
settings: { [key: string]: boolean | object | string | string[] }; |
|
|
|
|
|
|
|
/** @deprecated use activitiesCount instead */ |
|
|
|
transactionCount: number; |
|
|
|
|
|
|
|
userCount: number; |
|
|
|
version: string; |
|
|
|
} |
|
|
|
|