This commit is contained in:
@@ -39,6 +39,11 @@ defmodule DecentralisedBookIndex.Metadata.AuthorRole do
|
||||
filter expr(id == ^arg(:id))
|
||||
end
|
||||
|
||||
read :by_book_id do
|
||||
argument :book_id, :uuid, allow_nil?: false
|
||||
filter expr(book_id == ^arg(:book_id))
|
||||
end
|
||||
|
||||
update :update do
|
||||
primary? true
|
||||
accept [:order, :role]
|
||||
|
||||
Reference in New Issue
Block a user