|
@ -1,4 +1,5 @@ |
|
|
import { SubscriptionService } from '@ghostfolio/api/app/subscription/subscription.service'; |
|
|
import { SubscriptionService } from '@ghostfolio/api/app/subscription/subscription.service'; |
|
|
|
|
|
import { environment } from '@ghostfolio/api/environments/environment'; |
|
|
import { ConfigurationService } from '@ghostfolio/api/services/configuration/configuration.service'; |
|
|
import { ConfigurationService } from '@ghostfolio/api/services/configuration/configuration.service'; |
|
|
import { DataProviderService } from '@ghostfolio/api/services/data-provider/data-provider.service'; |
|
|
import { DataProviderService } from '@ghostfolio/api/services/data-provider/data-provider.service'; |
|
|
import { ExchangeRateDataService } from '@ghostfolio/api/services/exchange-rate-data/exchange-rate-data.service'; |
|
|
import { ExchangeRateDataService } from '@ghostfolio/api/services/exchange-rate-data/exchange-rate-data.service'; |
|
@ -97,7 +98,8 @@ export class AdminService { |
|
|
settings: await this.propertyService.get(), |
|
|
settings: await this.propertyService.get(), |
|
|
transactionCount: await this.prismaService.order.count(), |
|
|
transactionCount: await this.prismaService.order.count(), |
|
|
userCount: await this.prismaService.user.count(), |
|
|
userCount: await this.prismaService.user.count(), |
|
|
users: await this.getUsersWithAnalytics() |
|
|
users: await this.getUsersWithAnalytics(), |
|
|
|
|
|
version: environment.version |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|