Skip to content

Commit 0278133

Browse files
committed
refactor: rename schema
1 parent d77d62d commit 0278133

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

lib/algora/bounties/schemas/bounty_listing.ex renamed to lib/algora/bounties/schemas/prize_pool.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule Algora.Bounties.BountyListing do
1+
defmodule Algora.Bounties.PrizePool do
22
@moduledoc false
33
use Algora.Schema
44

lib/algora_web/live/bounties_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ defmodule AlgoraWeb.BountiesLive do
4646

4747
defp assign_tickets(socket) do
4848
tickets =
49-
Bounties.BountyListing.list(
49+
Bounties.PrizePool.list(
5050
status: :open,
5151
tech_stack: socket.assigns.current_user.tech_stack,
5252
limit: 100

lib/algora_web/live/community/dashboard_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ defmodule AlgoraWeb.Community.DashboardLive do
276276

277277
defp assign_tickets(socket) do
278278
tickets =
279-
Bounties.BountyListing.list(
279+
Bounties.PrizePool.list(
280280
status: :open,
281281
tech_stack: socket.assigns.current_user.tech_stack,
282282
limit: 100

lib/algora_web/live/swift_bounties_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ defmodule AlgoraWeb.SwiftBountiesLive do
683683

684684
defp assign_tickets(socket) do
685685
tickets =
686-
Bounties.BountyListing.list(
686+
Bounties.PrizePool.list(
687687
status: :open,
688688
tech_stack: ["Swift"],
689689
limit: 100

lib/algora_web/live/user/dashboard_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ defmodule AlgoraWeb.User.DashboardLive do
217217

218218
defp assign_tickets(socket) do
219219
tickets =
220-
Bounties.BountyListing.list(
220+
Bounties.PrizePool.list(
221221
status: :open,
222222
tech_stack: socket.assigns.current_user.tech_stack,
223223
limit: 100

0 commit comments

Comments
 (0)