Skip to content

Commit

Permalink
Functions: Fix default exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kündig committed Jan 24, 2025
1 parent fc7c259 commit 46f9b26
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions functions/src/functions/cron/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import createDonationCertificatesFunction from './donation-certificates';
import importExchangeRatesFunction from './exchange-rate-import';
import sendFirstPayoutEmailFunction from './first-payout-email';
import importPostfinancePaymentsFilesFunction from './postfinance-payments-files-import';

export const importPostfinancePaymentsFiles = importPostfinancePaymentsFilesFunction;
export const importExchangeRates = importExchangeRatesFunction;
export const sendFirstPayoutEmail = sendFirstPayoutEmailFunction;
export const createDonationCertificates = createDonationCertificatesFunction;
4 changes: 2 additions & 2 deletions functions/src/functions/webhooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
import stripeWebhookFunction from './stripe';
import surveyLoginFunction from './website/survey-login';

export const createDonationCertificates = createDonationCertificatesFunction;
export const runPaymentProcessTask = paymentProcessFunction;
export const runPaymentForecastTask = paymentForecastFunction;

Expand All @@ -18,5 +17,6 @@ export const addMissingAmountChf = addMissingAmountChfFunction;
export const createAllSurveys = createAllSurveysFunction;

export const stripeChargeHook = stripeWebhookFunction;

export const getSurveyCredentials = surveyLoginFunction;

export const createDonationCertificatesHook = createDonationCertificatesFunction;
2 changes: 1 addition & 1 deletion functions/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { setGlobalOptions } from 'firebase-functions/v2/options';
import { DEFAULT_REGION } from '../../shared/src/firebase';

setGlobalOptions({ maxInstances: 10, region: DEFAULT_REGION });
setGlobalOptions({ maxInstances: 5, region: DEFAULT_REGION });

export * from './functions/cron/index';
export * from './functions/firestore/index';
Expand Down

0 comments on commit 46f9b26

Please sign in to comment.