Merge pull request #2320 from gradido/release-statistics-query

fix: Release Statistic Query Runner
This commit is contained in:
Moriz Wahl 2022-11-01 15:27:14 +01:00 committed by GitHub
commit 83c1fc4bfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,8 @@ export class StatisticsResolver {
.where('transaction.decay IS NOT NULL') .where('transaction.decay IS NOT NULL')
.getRawOne() .getRawOne()
await queryRunner.release()
return { return {
totalUsers, totalUsers,
activeUsers, activeUsers,