diff options
author | lthms <contact@thomasletan.fr> | 2017-12-30 18:32:00 +0000 |
---|---|---|
committer | Thomas Letan <contact@thomasletan.fr> | 2018-01-24 08:11:29 +0100 |
commit | cd81dd10310bbca9cf7ed5cc3d3d4825104105e4 (patch) | |
tree | 508158bd08e6f1e644e5b47ffee223996493caa2 | |
parent | chore: Hide the specs/0 function which is totally internal (diff) |
chore: Hide the default :module key of entities which is internal
-rw-r--r-- | lib/lkn/core/entity.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lkn/core/entity.ex b/lib/lkn/core/entity.ex index c87b51d..138cb47 100644 --- a/lib/lkn/core/entity.ex +++ b/lib/lkn/core/entity.ex @@ -119,7 +119,7 @@ defmodule Lkn.Core.Entity do def digest(entity_key) do Option.some(mod) = Lkn.Core.Entity.read(entity_key, :module) - Lkn.Core.Properties.compute(entity_key, &mod.digest(&1)) + Lkn.Core.Properties.compute(entity_key, &mod.digest(Map.delete(&1, :module))) end @doc """ |