From 6ece063915816186db2236d33b34ef156b270bf0 Mon Sep 17 00:00:00 2001 From: emielvdveen Date: Tue, 12 Dec 2023 13:30:07 +0100 Subject: [PATCH] Fixed 500 error when posting from Centerdata to assignment --- core/systems/assignment/_routes.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/systems/assignment/_routes.ex b/core/systems/assignment/_routes.ex index fd9a3eb22..22a3ef97a 100644 --- a/core/systems/assignment/_routes.ex +++ b/core/systems/assignment/_routes.ex @@ -19,7 +19,7 @@ defmodule Systems.Assignment.Routes do get("/:id/:panel", ExternalPanelController, :create) end - scope "/assignment/centerdata", Systems.Assignment do + scope "/assignment", Systems.Assignment do pipe_through([:browser_unprotected]) post("/:id/:panel", ExternalPanelController, :create) end