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