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
parent
commit
4ff372f020
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 1
      apps/api/src/app/admin/admin.service.ts
  3. 4
      libs/common/src/lib/interfaces/admin-data.interface.ts

1
CHANGELOG.md

@ -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

1
apps/api/src/app/admin/admin.service.ts

@ -186,7 +186,6 @@ export class AdminService {
dataProviders,
settings,
userCount,
transactionCount: activitiesCount,
version: environment.version
};
}

4
libs/common/src/lib/interfaces/admin-data.interface.ts

@ -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;
}

Loading…
Cancel
Save