From 6cef5e614d70ed3a6069cdfc84942e2d24630474 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 8 Aug 2018 13:44:01 -0400 Subject: [PATCH] dont async refresh and sync --- src/app/settings/premium.component.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app/settings/premium.component.ts b/src/app/settings/premium.component.ts index 4903d10c1c..e3a1a823e1 100644 --- a/src/app/settings/premium.component.ts +++ b/src/app/settings/premium.component.ts @@ -87,10 +87,8 @@ export class PremiumComponent implements OnInit { } async finalizePremium() { - await Promise.all([ - this.apiService.refreshIdentityToken(), - this.syncService.fullSync(true), - ]); + await this.apiService.refreshIdentityToken(); + await this.syncService.fullSync(true); this.analytics.eventTrack.next({ action: 'Signed Up Premium' }); this.toasterService.popAsync('success', null, this.i18nService.t('premiumUpdated')); this.messagingService.send('purchasedPremium');