diff --git a/lib/trento/infrastructure/activity_log/logger/adapter/database_writer.ex b/lib/trento/infrastructure/activity_log/logger/adapter/database_writer.ex index 6f685c2e80..43c2d28146 100644 --- a/lib/trento/infrastructure/activity_log/logger/adapter/database_writer.ex +++ b/lib/trento/infrastructure/activity_log/logger/adapter/database_writer.ex @@ -3,6 +3,8 @@ defmodule Trento.Infrastructure.ActivityLog.Logger.DatabasetWriter do Persistent Activity Log Writer Adapter """ + alias Trento.Repo + alias Trento.ActivityLog.ActivityLog @behaviour Trento.ActivityLog.Logger.ActivityLogWriter @@ -12,5 +14,5 @@ defmodule Trento.Infrastructure.ActivityLog.Logger.DatabasetWriter do do: %ActivityLog{} |> ActivityLog.changeset(log_entry) - |> Trento.Repo.insert() + |> Repo.insert() end