Fix level text limits (#318)

This commit is contained in:
Josh 2022-06-04 16:55:20 -05:00 committed by GitHub
parent 96ed3cfad2
commit d0f5d07194
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,9 +86,9 @@ public class PublishController : ControllerBase
if (slot.Location == null) return this.BadRequest(); if (slot.Location == null) return this.BadRequest();
if (slot.Description.Length > 200) return this.BadRequest(); if (slot.Description.Length > 500) return this.BadRequest();
if (slot.Name.Length > 100) return this.BadRequest(); if (slot.Name.Length > 64) return this.BadRequest();
if (slot.Resources.Any(resource => !FileHelper.ResourceExists(resource))) if (slot.Resources.Any(resource => !FileHelper.ResourceExists(resource)))
{ {