chore: Remove stripe-related functionality
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user