From f6aa0b4a0792e7c69af6e7008a2ba354ca26adf4 Mon Sep 17 00:00:00 2001
From: lain <lain@soykaf.club>
Date: Mon, 11 May 2020 22:03:29 +0200
Subject: [PATCH] Migration: Fix typo

---
 priv/repo/migrations/20200415181818_update_markers.exs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/priv/repo/migrations/20200415181818_update_markers.exs b/priv/repo/migrations/20200415181818_update_markers.exs
index d85bd04e0..bb9d8e860 100644
--- a/priv/repo/migrations/20200415181818_update_markers.exs
+++ b/priv/repo/migrations/20200415181818_update_markers.exs
@@ -34,8 +34,8 @@ defp update_markers do
 
     markers_attrs
     |> Enum.chunk_every(1000)
-    |> Enum.each(fn marker_attrs ->
-      Repo.insert_all("markers", markers_attrs,
+    |> Enum.each(fn markers_attrs_chunked ->
+      Repo.insert_all("markers", markers_attrs_chunked,
         on_conflict: {:replace, [:last_read_id]},
         conflict_target: [:user_id, :timeline]
       )