mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-05 23:53:21 +00:00
hash check request before going to server.
This commit is contained in:
@@ -216,6 +216,19 @@ namespace Bit.Core.Services
|
||||
}
|
||||
}
|
||||
|
||||
public string LastSyncHash
|
||||
{
|
||||
get
|
||||
{
|
||||
return Settings.LastSyncHash;
|
||||
}
|
||||
set
|
||||
{
|
||||
Settings.LastSyncHash = value;
|
||||
SaveSettings();
|
||||
}
|
||||
}
|
||||
|
||||
public class SettingsModel
|
||||
{
|
||||
public string ApiBaseUrl { get; set; } = "https://api.bitwarden.com";
|
||||
@@ -229,6 +242,7 @@ namespace Bit.Core.Services
|
||||
public DateTime? LastUserSyncDate { get; set; }
|
||||
public string GroupDeltaToken { get; set; }
|
||||
public string UserDeltaToken { get; set; }
|
||||
public string LastSyncHash { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user