mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-14 07:13:25 +00:00
include API url in hash
This commit is contained in:
@@ -43,7 +43,7 @@ namespace Bit.Core.Utilities
|
|||||||
|
|
||||||
var request = new ImportRequest(groups, users);
|
var request = new ImportRequest(groups, users);
|
||||||
var json = JsonConvert.SerializeObject(request);
|
var json = JsonConvert.SerializeObject(request);
|
||||||
var hash = ComputeHash(json);
|
var hash = ComputeHash(string.Concat(SettingsService.Instance.ApiBaseUrl, json));
|
||||||
|
|
||||||
if(hash == SettingsService.Instance.LastSyncHash)
|
if(hash == SettingsService.Instance.LastSyncHash)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user