1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-16 00:03:22 +00:00

cascade null to sites on folder delete

This commit is contained in:
Kyle Spearrin
2016-07-31 00:19:12 -04:00
parent cf8ee2273a
commit d0fa6841c3
5 changed files with 23 additions and 4 deletions

View File

@@ -98,7 +98,7 @@ namespace Bit.App.Services
return true;
}
public async Task<bool> SyncDeleteFolderAsync(string id)
public async Task<bool> SyncDeleteFolderAsync(string id, DateTime revisionDate)
{
if(!_authService.IsAuthenticated)
{
@@ -107,7 +107,7 @@ namespace Bit.App.Services
SyncStarted();
await _folderRepository.DeleteAsync(id);
await _folderRepository.DeleteWithSiteUpdateAsync(id, revisionDate);
SyncCompleted(true);
return true;
}