Bug: fix Directus client page view not working
This commit is contained in:
parent
54bf81b54d
commit
3725dc17d0
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ defmodule Mse25Web.ItemController do
|
|||
|
||||
defp fetch([slug]) do
|
||||
case Integer.parse(slug) do
|
||||
{:error} ->
|
||||
:error ->
|
||||
case Directus.get_page(slug) do
|
||||
{:ok, response} -> {:ok, :page, response}
|
||||
error -> error
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue