refactor(core): Rename usage metrics method per suggestion (no-changelog) (#9810)

This commit is contained in:
Iván Ovejero
2024-06-20 11:02:30 +02:00
committed by GitHub
parent c0a6acaef6
commit 283d1ca583
3 changed files with 5 additions and 5 deletions

View File

@@ -85,7 +85,7 @@ export class License {
? async () => await this.usageMetricsService.collectUsageMetrics()
: async () => [];
const collectPassthroughData = isMainInstance
? async () => await this.usageMetricsService.getActiveWorkflowIds()
? async () => await this.usageMetricsService.collectPassthroughData()
: async () => ({});
const renewalEnabled = this.renewalEnabled(instanceType);

View File

@@ -31,7 +31,7 @@ export class UsageMetricsService {
];
}
async getActiveWorkflowIds() {
async collectPassthroughData() {
return {
activeWorkflowIds: await this.workflowRepository.getActiveIds(),
};