Replace uuids with "nanoid"s

This commit is contained in:
Thelonius Kort
2023-01-11 19:01:28 +01:00
parent 881a8ee094
commit 403116cd08
16 changed files with 38 additions and 33 deletions

View File

@ -5,7 +5,7 @@ defmodule Outlook.Translations.Basic do
def internal_tree_to_tunit_map(tree) do
collect_translation_units(tree)
|> Enum.map(fn tunit -> {tunit.uuid, tunit} end)
|> Enum.map(fn tunit -> {tunit.nid, tunit} end)
|> Enum.into(%{})
end