diff --git a/lib/ash/api/interface.ex b/lib/ash/api/interface.ex index 326ea730..dd827fd6 100644 --- a/lib/ash/api/interface.ex +++ b/lib/ash/api/interface.ex @@ -173,7 +173,7 @@ defmodule Ash.Api.Interface do Keyword.take(opts, [:actor, :tenant]) ) - unquote(api).create(changeset, opts) + unquote(api).create(changeset, Keyword.drop(opts, [:query, :tenant])) end end