Update editing translation

This commit is contained in:
Thelonius Kort
2023-01-09 21:35:35 +01:00
parent 71e6a8da60
commit 33ed533a1a
10 changed files with 111 additions and 18 deletions

View File

@ -23,7 +23,7 @@ defmodule Outlook.Translations.TranslationUnitsMap do
def dump(tumap) when is_map(tumap) do
serialized_map = for {key, val} <- tumap do
{key, Jason.encode!(val)}
{key, Jason.encode!(val |> Map.delete(:eph))}
end
|> Enum.into(%{})
{:ok, serialized_map}