mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-02 10:08:39 +00:00
Make calculatedHash lowercase
This commit is contained in:
parent
23206b2a9b
commit
1bbcf5ff23
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
||||||
return this.UnprocessableEntity();
|
return this.UnprocessableEntity();
|
||||||
}
|
}
|
||||||
|
|
||||||
string calculatedHash = HashHelper.Sha1Hash(file.Data);
|
string calculatedHash = HashHelper.Sha1Hash(file.Data).ToLower();
|
||||||
if (calculatedHash != hash)
|
if (calculatedHash != hash)
|
||||||
{
|
{
|
||||||
Logger.Log
|
Logger.Log
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue