rename Ammo.get_average_cost and Ammo.get_historical_count

This commit is contained in:
2023-06-05 22:48:58 -04:00
parent 9edeb1e803
commit a35f43d6df
6 changed files with 46 additions and 50 deletions

View File

@ -14,7 +14,7 @@ defmodule CanneryWeb.ExportController do
total_pack_counts =
Ammo.get_grouped_packs_count(current_user, types: types, group_by: :type_id, show_used: true)
average_costs = types |> Ammo.get_average_cost_for_types(current_user)
average_costs = Ammo.get_average_costs(types, current_user)
types =
types