Backups: subscription info improvements

This commit is contained in:
trevor-signal
2025-06-25 14:56:52 -04:00
committed by GitHub
parent 8251720444
commit 2e9dae6b1f
12 changed files with 146 additions and 78 deletions

View File

@@ -253,14 +253,14 @@ export class BackupAPI {
return {
status: 'pending-cancellation',
cost,
expiryDate: endOfCurrentPeriod,
expiryTimestamp: endOfCurrentPeriod?.getTime(),
};
}
return {
status: 'active',
cost,
renewalDate: endOfCurrentPeriod,
renewalTimestamp: endOfCurrentPeriod?.getTime(),
};
}