Replace uuids with "nanoid"s
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user