Added JSON API for biddings. (Only listing all biddings is supported)
This commit is contained in:
@ -44,6 +44,10 @@ defmodule BeetRoundServer.Biddings do
|
||||
Repo.all_by(Bidding, user_id: scope.user.id)
|
||||
end
|
||||
|
||||
def list_biddings() do
|
||||
Repo.all(Bidding)
|
||||
end
|
||||
|
||||
@doc """
|
||||
Gets a single bidding.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user