|
@@ -3,6 +3,7 @@ import MockSubscription from './Subscription.mjs'
|
|
|
import SubscriptionUpdater from '../../../../app/src/Features/Subscription/SubscriptionUpdater.js'
|
|
import SubscriptionUpdater from '../../../../app/src/Features/Subscription/SubscriptionUpdater.js'
|
|
|
import { Subscription as SubscriptionModel } from '../../../../app/src/models/Subscription.js'
|
|
import { Subscription as SubscriptionModel } from '../../../../app/src/models/Subscription.js'
|
|
|
import { DeletedSubscription as DeletedSubscriptionModel } from '../../../../app/src/models/DeletedSubscription.js'
|
|
import { DeletedSubscription as DeletedSubscriptionModel } from '../../../../app/src/models/DeletedSubscription.js'
|
|
|
|
|
+import { promisifyClass } from '@overleaf/promise-utils'
|
|
|
|
|
|
|
|
class DeletedSubscription {
|
|
class DeletedSubscription {
|
|
|
constructor(options = {}) {
|
|
constructor(options = {}) {
|
|
@@ -41,4 +42,6 @@ class DeletedSubscription {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+DeletedSubscription.promises = promisifyClass(DeletedSubscription)
|
|
|
|
|
+
|
|
|
export default DeletedSubscription
|
|
export default DeletedSubscription
|