This commit is contained in:
@@ -204,7 +204,7 @@ defmodule DecentralisedBookIndex.Metadata.Book do
|
||||
description "Return a list of Books, optionally filtering by BookId."
|
||||
|
||||
argument :type, :string, allow_nil?: false
|
||||
argument :bid, :string, allow_nil?: false
|
||||
argument :bid, :string, allow_nil?: true
|
||||
|
||||
filter expr(exists(bids, type == ^arg(:type) and contains(bid, ^arg(:bid))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user