From 732b2a7d6ef3c79dff4e6f2bbbf56e51174e3c72 Mon Sep 17 00:00:00 2001 From: Ariel Mashraki <7413593+a8m@users.noreply.github.com> Date: Thu, 14 Oct 2021 23:11:56 +0300 Subject: [PATCH] website/blog: minor fix to the entcache post --- doc/website/blog/2021-10-14-introducing-entcache.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/website/blog/2021-10-14-introducing-entcache.md b/doc/website/blog/2021-10-14-introducing-entcache.md index 05df39507..afed12318 100644 --- a/doc/website/blog/2021-10-14-introducing-entcache.md +++ b/doc/website/blog/2021-10-14-introducing-entcache.md @@ -139,7 +139,7 @@ if err != nil { log.Fatal("opening database", err) } // Decorates the sql.Driver with entcache.Driver. -drv := entcache.NewDriver(drv) +drv := entcache.NewDriver(db) // Create an ent.Client. client := ent.NewClient(ent.Driver(drv))