From cacff73b91ec1750f50dc556542c8c9a79af4695 Mon Sep 17 00:00:00 2001 From: zack Date: Fri, 25 Oct 2024 17:48:07 -0400 Subject: [PATCH] fix discord routing --- lib/zoeyscomputer_web/router.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zoeyscomputer_web/router.ex b/lib/zoeyscomputer_web/router.ex index 89e8040..52939c4 100644 --- a/lib/zoeyscomputer_web/router.ex +++ b/lib/zoeyscomputer_web/router.ex @@ -142,7 +142,7 @@ defmodule ZoeyscomputerWeb.Router do _ -> false end - if true do + if is_discord do # Extract the ID from the path id = List.last(conn.path_info)