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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user