fix discord routing

This commit is contained in:
zack 2024-10-25 17:48:07 -04:00
parent 40d517541a
commit cacff73b91
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35

View file

@ -142,7 +142,7 @@ defmodule ZoeyscomputerWeb.Router do
_ -> false _ -> false
end end
if true do if is_discord do
# Extract the ID from the path # Extract the ID from the path
id = List.last(conn.path_info) id = List.last(conn.path_info)