mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Added tests for the string hash
This commit is contained in:
parent
ae64c11485
commit
f0ce5556c3
4 changed files with 59 additions and 4 deletions
|
@ -169,8 +169,8 @@ namespace PlexRequests.Api
|
|||
Method = Method.GET
|
||||
};
|
||||
|
||||
request.AddUrlSegment("username", StringHasher.CalcuateMD5Hash(username));
|
||||
request.AddUrlSegment("password", StringHasher.CalcuateMD5Hash(password));
|
||||
request.AddUrlSegment("username", StringHasher.CalcuateMd5Hash(username));
|
||||
request.AddUrlSegment("password", StringHasher.CalcuateMd5Hash(password));
|
||||
|
||||
var obj = RetryHandler.Execute(() => Api.Execute<CoucPotatoApiKey>(request, baseUrl), null,
|
||||
(exception, timespan) => Log.Error(exception, "Exception when calling GetApiKey for CP, Retrying {0}", timespan));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue