Getting error when using ExAudit.Repo
Opened this issue · 3 comments
tiagodavi-papa commented
Hy Guys. Thank you for the library.
I put this clause into my code: use ExAudit.Repo
After compiling I get this error: key :otp_app not found in: []
Does anyone know what's happening?
tiagodavi-papa commented
I found out the problem. The docs here on github is outdated. On hex is saying this: "You have to hook ExAudit to your repo, by replacing Ecto.Repo with ExAudit.Repo:", but here on Github looked like I had to use ExAudit below my calling to Ecto.Repo.
narrowtux commented
If this is a documentation issue, it can stay open until it's fixed :)
chadfennell commented
This issue can be closed now due to: #109 no?