chore: Remove stripe-related functionality

This commit is contained in:
Faruk AYDIN
2023-03-21 11:49:44 +03:00
parent dec55709a3
commit d3ef45db1b
10 changed files with 0 additions and 225 deletions

View File

@@ -1,16 +0,0 @@
import appConfig from '../../config/app';
import Context from '../../types/express/context';
import Billing from '../../helpers/billing/index.ee';
const getPaymentPortalUrl = async (
_parent: unknown,
_params: unknown,
context: Context
) => {
if (!appConfig.isCloud) return;
const url = Billing.createPaymentPortalUrl(context.currentUser);
return { url };
};
export default getPaymentPortalUrl;