chore: Use imports as ES modules

This commit is contained in:
Faruk AYDIN
2024-01-04 22:24:42 +01:00
parent 523f8a8951
commit b95478b635
52 changed files with 198 additions and 186 deletions

View File

@@ -1,8 +1,8 @@
import Base from './base';
import User from './user';
import UsageData from './usage-data.ee';
import Base from './base.js';
import User from './user.js';
import UsageData from './usage-data.ee.js';
import { DateTime } from 'luxon';
import { getPlanById } from '../helpers/billing/plans.ee';
import { getPlanById } from '../helpers/billing/plans.ee.js';
class Subscription extends Base {
static tableName = 'subscriptions';