Skip to content

Commit

Permalink
fix incorrect name in key map
Browse files Browse the repository at this point in the history
  • Loading branch information
trbKnl committed Feb 13, 2024
1 parent 432454b commit e14b24d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/systems/storage/azure/backend.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ defmodule Systems.Storage.Azure.Backend do
end
end

defp path(%{"participant" => participant}, %{"key" => key, "timestamp" => timestamp}) do
"#{participant}/#{key}/#{timestamp}.json"
defp path(%{"participant" => participant}, %{"key" => key, "timestamp" => _}) do
"#{participant}/#{key}.json"
end

defp path(%{"participant" => participant}, %{"key" => key}) do
Expand All @@ -46,7 +46,7 @@ defmodule Systems.Storage.Azure.Backend do

defp url(
%{
"storage_account_name" => storage_account_name,
"account_name" => storage_account_name,
"container" => container,
"sas_token" => sas_token
},
Expand Down

0 comments on commit e14b24d

Please sign in to comment.