ex_audit
ex_audit copied to clipboard
Getting error when using ExAudit.Repo
trafficstars
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?
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.
If this is a documentation issue, it can stay open until it's fixed :)