diff --git a/plugins/recruit-resources/src/components/EditApplication.svelte b/plugins/recruit-resources/src/components/EditApplication.svelte index 8a07377ec3..0c9e61c3a1 100644 --- a/plugins/recruit-resources/src/components/EditApplication.svelte +++ b/plugins/recruit-resources/src/components/EditApplication.svelte @@ -30,7 +30,7 @@ const candidateQuery = createQuery() $: if (object !== undefined) { - candidateQuery.query(recruit.mixin.Candidate, { _id: object.attachedTo as Ref }, (result) => { + candidateQuery.query(recruit.class.Candidate, { _id: object.attachedTo as Ref }, (result) => { candidate = result[0] }) }