Skip to content

Commit

Permalink
Merge pull request ZennerIoT#50 from GhostGroup/another-default-retur…
Browse files Browse the repository at this point in the history
…n-on-tracked-schemas

Add default return on tracked schemas in repo.ex
  • Loading branch information
narrowtux authored Jun 1, 2020
2 parents 8501525 + e008bfe commit aea7a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/repo/repo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ defmodule ExAudit.Repo do
)

defp tracked?(struct_or_changeset) do
tracked_schemas = Application.get_env(:ex_audit, :tracked_schemas)
tracked_schemas = Application.get_env(:ex_audit, :tracked_schemas, [])

schema =
case struct_or_changeset do
Expand Down

0 comments on commit aea7a19

Please sign in to comment.