fix passing nested query in nested getAst calls

This commit is contained in:
LepkoQQ
2022-06-01 16:12:27 +02:00
committed by GitHub
parent c06f43c1cd
commit c6385ef43d

View File

@@ -72,7 +72,7 @@ const getAst = async ({
value = await getAst({
model,
query: query?.nested,
query: query?.nested?.[col.title],
extractOnlyPrimaries: nestedFields !== '*'
});
}