From e14b24de193791c9c43b1293861f960735722df6 Mon Sep 17 00:00:00 2001 From: trbKnl Date: Tue, 13 Feb 2024 12:28:37 +0100 Subject: [PATCH] fix incorrect name in key map --- core/systems/storage/azure/backend.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/systems/storage/azure/backend.ex b/core/systems/storage/azure/backend.ex index 10c70fe05..61b8f5c63 100644 --- a/core/systems/storage/azure/backend.ex +++ b/core/systems/storage/azure/backend.ex @@ -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 @@ -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 },