mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
chore: fix typo
This commit is contained in:
parent
3af2580241
commit
ac07bbf779
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ defmodule Ash.Type.Struct do
|
|||
end
|
||||
|
||||
@impl Ash.Type
|
||||
def get_rewrites(merged_load, calculation, path, _) do
|
||||
def get_rewrites(merged_load, calculation, path, constraints) do
|
||||
if constraints[:instance_of] && Ash.Resource.Info.resource?(constraints[:instance_of]) do
|
||||
merged_load = Ash.Query.load(__MODULE__, merged_load)
|
||||
Ash.Actions.Read.Calculations.get_all_rewrites(merged_load, calculation, path)
|
||||
|
|
Loading…
Reference in a new issue