mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
Forbid promise misuse (#6360)
This commit is contained in:
@@ -53,6 +53,7 @@ export class UserSubscriptionComponent implements OnInit {
|
||||
return;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
||||
if (this.stateService.getHasPremiumPersonally()) {
|
||||
this.loading = true;
|
||||
this.sub = await this.apiService.getUserSubscription();
|
||||
|
||||
Reference in New Issue
Block a user