From d4a6ea322233c71f235767ac203d59eab83d6961 Mon Sep 17 00:00:00 2001 From: Sidney Gomes Date: Tue, 21 Jul 2026 19:03:56 -0300 Subject: [PATCH] fix: make AsaasService.getApiKey public to fix server build compilation crash --- src/services/asaas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/asaas.ts b/src/services/asaas.ts index 695c9c6..6eeaac1 100644 --- a/src/services/asaas.ts +++ b/src/services/asaas.ts @@ -2,7 +2,7 @@ import { SubscriptionPayment } from '../types'; import { loadDb } from '../db/db'; export class AsaasService { - private static getApiKey(): string | null { + public static getApiKey(): string | null { const db = loadDb(); return db.settings?.asaasApiKey || process.env.ASAAS_API_KEY || null; }