Bootstrap the /api namespace
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
defmodule MusicLibraryWeb.CollectionJSON do
|
||||
def show(%{record: record}) do
|
||||
Map.take(record, [:title])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user