Skip to content

Commit

Permalink
Fix a function signature call which recently changed (#1745)
Browse files Browse the repository at this point in the history
I'm not sure how I missed this, but I did.

This PR is a quick fix for a recently changed (by me) function argument.
  • Loading branch information
joshk authored Jan 8, 2025
1 parent e915164 commit 38dee14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nerves_hub_web/live/dashboard/index.ex
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ defmodule NervesHubWeb.Live.Dashboard.Index do
Devices.get_minimal_device_location_by_org_id_and_product_id(org.id, product.id)

latest_firmwares =
Deployments.get_deployments_by_product(product.id)
Deployments.get_deployments_by_product(product)
|> Enum.reduce(%{}, fn deployment, acc ->
Map.put(acc, deployment.firmware.uuid, deployment.firmware.platform)
end)
Expand Down

0 comments on commit 38dee14

Please sign in to comment.