mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
fix(server): disable payment module requirements temporarily (#5683)
This commit is contained in:
@@ -29,6 +29,7 @@ AFFiNE.metrics.enabled = true;
|
||||
// Plugins Section Start
|
||||
AFFiNE.plugins.use('payment', {
|
||||
stripe: {
|
||||
keys: {},
|
||||
apiVersion: '2023-10-16',
|
||||
},
|
||||
});
|
||||
|
||||
@@ -17,10 +17,11 @@ import { StripeWebhook } from './webhook';
|
||||
UserSubscriptionResolver,
|
||||
],
|
||||
controllers: [StripeWebhook],
|
||||
requires: [
|
||||
'plugins.payment.stripe.keys.APIKey',
|
||||
'plugins.payment.stripe.keys.webhookKey',
|
||||
],
|
||||
// TODO(@forehalo): enable this requirements when conditional query is implemented in frontend
|
||||
// requires: [
|
||||
// 'plugins.payment.stripe.keys.APIKey',
|
||||
// 'plugins.payment.stripe.keys.webhookKey',
|
||||
// ],
|
||||
contributesTo: ServerFeature.Payment,
|
||||
})
|
||||
export class PaymentModule {}
|
||||
|
||||
Reference in New Issue
Block a user