Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
jdonis committed Jun 29, 2023
1 parent 8d14e64 commit bd8868c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/challenge_gov/analytics.ex
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ defmodule ChallengeGov.Analytics do
year
end

def calculate_prize_amount_imported(challenge = %{imported: true}), do: challenge.prize_total || 0
def calculate_prize_amount_imported(challenge = %{imported: true}),
do: challenge.prize_total || 0

def calculate_prize_amount(challenge), do: (challenge.prize_total || 0) / 100

def all_challenges(challenges, years) do
Expand Down

0 comments on commit bd8868c

Please sign in to comment.