Added JSON API for biddings. (Only listing all biddings is supported)

This commit is contained in:
2026-02-12 10:41:21 +01:00
parent c994ea171e
commit 9709dbabe2
5 changed files with 174 additions and 0 deletions

View File

@ -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.