enable event logging

This commit is contained in:
Kyle Spearrin 2019-07-27 12:41:38 -04:00
parent 421834153d
commit 580fa02ee1

View file

@ -31,8 +31,6 @@ namespace Bit.Core.Services
public async Task CollectAsync(EventType eventType, string cipherId = null, bool uploadImmediately = false) public async Task CollectAsync(EventType eventType, string cipherId = null, bool uploadImmediately = false)
{ {
return;
// TODO
var authed = await _userService.IsAuthenticatedAsync(); var authed = await _userService.IsAuthenticatedAsync();
if(!authed) if(!authed)
{ {
@ -76,8 +74,6 @@ namespace Bit.Core.Services
public async Task UploadEventsAsync() public async Task UploadEventsAsync()
{ {
return;
// TODO
var authed = await _userService.IsAuthenticatedAsync(); var authed = await _userService.IsAuthenticatedAsync();
if(!authed) if(!authed)
{ {