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,6 +1,4 @@
import User from '../../models/user';
import Billing from '../../helpers/billing/index.ee';
import appConfig from '../../config/app';
type Params = {
input: {
@@ -26,10 +24,6 @@ const createUser = async (_parent: unknown, params: Params) => {
role: 'user',
});
if (appConfig.isCloud) {
await Billing.createSubscription(user);
}
return user;
};