Resolve document query filtering.

This commit is contained in:
Patrick Fic
2021-04-24 09:01:21 -07:00
parent 844addbb71
commit 4519f59987

View File

@@ -9,7 +9,10 @@ export const GET_DOCUMENTS_BY_JOB = gql`
} }
} }
} }
documents(order_by: { updated_at: desc }) { documents(
order_by: { updated_at: desc }
where: { jobid: { _eq: $jobId } }
) {
id id
name name
key key