Mark a hack

This commit is contained in:
Cyberboss
2018-09-27 15:50:35 -04:00
parent c144e6c64a
commit f1ac08dfe5
@@ -120,6 +120,7 @@ namespace Tgstation.Server.Host.Controllers
if (ModelState?.IsValid == false)
{
var errorMessages = ModelState.SelectMany(x => x.Value.Errors).Select(x => x.ErrorMessage).ToList();
//HACK
//do some fuckery to remove RequiredAttribute errors
for (var I = 0; I < errorMessages.Count; ++I)
{