mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
fix: table compatibility (#14185)
This commit is contained in:
@@ -499,13 +499,10 @@ export class UserSubscriptionManager extends SubscriptionManager {
|
||||
},
|
||||
});
|
||||
|
||||
// TODO(@forehalo): time helper
|
||||
const subscriptionTime =
|
||||
(lookupKey.recurring === SubscriptionRecurring.Monthly ? 30 : 365) *
|
||||
24 *
|
||||
60 *
|
||||
60 *
|
||||
1000;
|
||||
lookupKey.recurring === SubscriptionRecurring.Monthly
|
||||
? OneMonth
|
||||
: OneYear;
|
||||
|
||||
let subscription: Subscription;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user