Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error when using ExAudit.Repo #53

Open
tiagodavi-papa opened this issue Jul 10, 2020 · 2 comments
Open

Getting error when using ExAudit.Repo #53

tiagodavi-papa opened this issue Jul 10, 2020 · 2 comments

Comments

@tiagodavi-papa
Copy link

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
Copy link
Author

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
Copy link
Contributor

If this is a documentation issue, it can stay open until it's fixed :)

@narrowtux narrowtux reopened this Jul 11, 2020
stefanluptak added a commit to stefanluptak/ex_audit that referenced this issue Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants