diff --git a/ButcherTraceBack/Controllers/CodeViewController.cs b/ButcherTraceBack/Controllers/CodeViewController.cs index b5c3316..1145f88 100644 --- a/ButcherTraceBack/Controllers/CodeViewController.cs +++ b/ButcherTraceBack/Controllers/CodeViewController.cs @@ -11,7 +11,7 @@ namespace ButcherTraceBack.Controllers { public ActionResult Index(string code) { - if (code != null && code.Length == 22) + if (code != null && code.Length != 23) { return RedirectToAction("Index", "FreshView", new { code = code }); }