From eff9d65dc6d5ce8108474ae759549d56e5a370d4 Mon Sep 17 00:00:00 2001 From: Stefan Luptak Date: Wed, 8 Nov 2023 16:08:12 +0100 Subject: [PATCH] Update README.md Fixes #53 --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 81e2128..883b613 100644 --- a/README.md +++ b/README.md @@ -55,15 +55,13 @@ end For older ecto versions than 3.2, check out what to do in the [Ecto Versions](#ecto-versions) section. -You have to hook `ExAudit.Repo` to your repo: +You have to hook `ExAudit.Repo` to your repo by replacing `use Ecto.Repo` with `use ExAudit.Repo`: ```elixir defmodule MyApp.Repo do - use Ecto.Repo, + use ExAudit.Repo, otp_app: :my_app, adapter: Ecto.Adapters.Postgres - - use ExAudit.Repo end ```