Make calculatedHash lowercase

This commit is contained in:
jvyden 2021-11-23 17:12:50 -05:00
commit 1bbcf5ff23
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

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