fix: make AsaasService.getApiKey public to fix server build compilation crash
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 43s
Details
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 43s
Details
This commit is contained in:
parent
17c409ee6b
commit
d4a6ea3222
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue