mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
[EC-826] Merge license sync feature branch to master (#4503)
* [EC-816] Separate cloud and selfhosted subscription components (#4383) * [EC-636] Add license sync to web vault (#4441) * [EC-1036] Show correct last license sync date (#4558) * [EC-1044] Fix: accidentally changed shared i18n string
This commit is contained in:
@@ -2,6 +2,7 @@ import { BaseResponse } from "../response/base.response";
|
||||
|
||||
export class BillingSyncConfigApi extends BaseResponse {
|
||||
billingSyncKey: string;
|
||||
lastLicenseSync: Date;
|
||||
|
||||
constructor(data: any) {
|
||||
super(data);
|
||||
@@ -9,5 +10,10 @@ export class BillingSyncConfigApi extends BaseResponse {
|
||||
return;
|
||||
}
|
||||
this.billingSyncKey = this.getResponseProperty("BillingSyncKey");
|
||||
|
||||
const lastLicenseSyncString = this.getResponseProperty("LastLicenseSync");
|
||||
if (lastLicenseSyncString) {
|
||||
this.lastLicenseSync = new Date(lastLicenseSyncString);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user