feat: add GetPaymentPlans graphQL query

This commit is contained in:
Faruk AYDIN
2023-03-20 19:12:21 +03:00
parent 40862fcd01
commit f1358c7ad1
6 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import appConfig from '../../config/app';
import Billing from '../../helpers/billing/index.ee';
const getPaymentPlans = async () => {
if (!appConfig.isCloud) return;
return Billing.paddlePlans;
};
export default getPaymentPlans;