From d0f5d07194c3c0ef488976c628e18f54a7f04e91 Mon Sep 17 00:00:00 2001 From: Josh Date: Sat, 4 Jun 2022 16:55:20 -0500 Subject: [PATCH] Fix level text limits (#318) --- .../Controllers/Slots/PublishController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProjectLighthouse.Servers.GameServer/Controllers/Slots/PublishController.cs b/ProjectLighthouse.Servers.GameServer/Controllers/Slots/PublishController.cs index a0eed01f..8c7a2eb7 100644 --- a/ProjectLighthouse.Servers.GameServer/Controllers/Slots/PublishController.cs +++ b/ProjectLighthouse.Servers.GameServer/Controllers/Slots/PublishController.cs @@ -86,9 +86,9 @@ public class PublishController : ControllerBase 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))) {