Skip to content

Commit

Permalink
chg: [refacto] fix non admin source view
Browse files Browse the repository at this point in the history
  • Loading branch information
gallypette committed Oct 1, 2024
1 parent 11e7891 commit da76674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocktailparty_web/controllers/source_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule CocktailpartyWeb.SourceController do
end

def show(conn, %{"id" => id}) do
source = Catalog.get_source_text!(id)
source = Catalog.get_source_map!(id)
sample = Catalog.get_sample(id)

source =
Expand Down

0 comments on commit da76674

Please sign in to comment.