Add description to additional sync calls
This commit is contained in:
parent
111ee2d294
commit
b7dec44197
|
@ -144,7 +144,7 @@ class FilelessImporterBackground implements FilelessImporterBackgroundInterface
|
|||
const result = await this.importService.import(importer, data, null, null, false);
|
||||
if (result.success) {
|
||||
this.importNotificationsPort?.postMessage({ command: "filelessImportCompleted" });
|
||||
await this.syncService.fullSync(true);
|
||||
await this.syncService.fullSync(true, "import");
|
||||
}
|
||||
} catch (error) {
|
||||
this.importNotificationsPort?.postMessage({
|
||||
|
|
|
@ -50,7 +50,7 @@ export class MigrateFromLegacyEncryptionComponent {
|
|||
const masterPassword = this.formGroup.value.masterPassword;
|
||||
|
||||
try {
|
||||
await this.syncService.fullSync(false, true);
|
||||
await this.syncService.fullSync(false, "migrate-legacy-encryption", true);
|
||||
|
||||
await this.keyRotationService.rotateUserKeyAndEncryptedData(masterPassword);
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ export class UserLayoutComponent implements OnInit {
|
|||
async ngOnInit() {
|
||||
document.body.classList.remove("layout_frontend");
|
||||
|
||||
await this.syncService.fullSync(false);
|
||||
await this.syncService.fullSync(false, "web-user-layout");
|
||||
|
||||
this.hasFamilySponsorshipAvailable$ = this.organizationService.canManageSponsorships$;
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ export class WebProviderService {
|
|||
|
||||
await this.apiService.refreshIdentityToken();
|
||||
|
||||
await this.syncService.fullSync(true);
|
||||
await this.syncService.fullSync(true, "provider-create-client-org");
|
||||
}
|
||||
|
||||
async detachOrganization(providerId: string, organizationId: string): Promise<any> {
|
||||
|
|
|
@ -347,6 +347,6 @@ export class OrganizationApiService implements OrganizationApiServiceAbstraction
|
|||
true,
|
||||
false,
|
||||
);
|
||||
await this.syncService.fullSync(true);
|
||||
await this.syncService.fullSync(true, "organization-enable-collection-enhancements");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ export class OrganizationBillingService implements OrganizationBillingServiceAbs
|
|||
|
||||
await this.apiService.refreshIdentityToken();
|
||||
|
||||
await this.syncService.fullSync(true);
|
||||
await this.syncService.fullSync(true, "billing-purchase-subscription");
|
||||
|
||||
return response;
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ export class OrganizationBillingService implements OrganizationBillingServiceAbs
|
|||
|
||||
await this.apiService.refreshIdentityToken();
|
||||
|
||||
await this.syncService.fullSync(true);
|
||||
await this.syncService.fullSync(true, "billing-start-free-trial");
|
||||
|
||||
return response;
|
||||
}
|
||||
|
|
|
@ -174,7 +174,7 @@ export class NotificationsService implements NotificationsServiceAbstraction {
|
|||
case NotificationType.SyncOrganizations:
|
||||
if (isAuthenticated) {
|
||||
// An organization update may not have bumped the user's account revision date, so force a sync
|
||||
await this.syncService.fullSync(true);
|
||||
await this.syncService.fullSync(true, "notifications-sync-organizations");
|
||||
}
|
||||
break;
|
||||
case NotificationType.SyncOrgKeys:
|
||||
|
|
Loading…
Reference in New Issue