1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

disable event service for now

This commit is contained in:
Kyle Spearrin 2019-07-14 11:25:26 -04:00
parent d61794265a
commit a3c9c7d41e

View File

@ -31,6 +31,7 @@ export class EventService implements EventServiceAbstraction {
} }
async collect(eventType: EventType, cipherId: string = null, uploadImmediately = false): Promise<any> { async collect(eventType: EventType, cipherId: string = null, uploadImmediately = false): Promise<any> {
return;
const authed = await this.userService.isAuthenticated(); const authed = await this.userService.isAuthenticated();
if (!authed) { if (!authed) {
return; return;
@ -65,6 +66,7 @@ export class EventService implements EventServiceAbstraction {
} }
async uploadEvents(): Promise<any> { async uploadEvents(): Promise<any> {
return;
const authed = await this.userService.isAuthenticated(); const authed = await this.userService.isAuthenticated();
if (!authed) { if (!authed) {
return; return;