1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-14 15:23:16 +00:00

include API url in hash

This commit is contained in:
Kyle Spearrin
2017-05-18 22:35:01 -04:00
parent 7650b01bff
commit b85d975bb3

View File

@@ -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)
{ {