Skip to content

Commit 7213e66

Browse files
committed
Fix small bug
1 parent 2f9eabc commit 7213e66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ecto_sync/schemas.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ defmodule EctoSync.Schemas do
5858
{edges, related}
5959

6060
%Ecto.Association.HasThrough{through: through} ->
61-
to = resolve_through(schema, through)
61+
to = resolve_through(&1, through)
6262

6363
{[{from, to}], to}
6464

0 commit comments

Comments
 (0)