disable events funcionality for now

This commit is contained in:
Kyle Spearrin 2019-07-13 20:27:15 -04:00
parent 40a3541e8e
commit 11cdf52ec8

View file

@ -31,6 +31,8 @@ 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)
{ {
@ -74,6 +76,8 @@ 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)
{ {