Skip to content

Commit

Permalink
Add default return on tracked schemas in repo.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Munat committed May 29, 2020
1 parent 8501525 commit e008bfe
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 e008bfe

Please sign in to comment.