diff --git a/plugins/recruit-resources/src/components/CreateApplication.svelte b/plugins/recruit-resources/src/components/CreateApplication.svelte index 6a1458bb12..53c928ad28 100644 --- a/plugins/recruit-resources/src/components/CreateApplication.svelte +++ b/plugins/recruit-resources/src/components/CreateApplication.svelte @@ -84,7 +84,7 @@ await client.addCollection( recruit.class.Applicant, - space, candidateInstance._id, recruit.mixin.Candidate, 'applications', + doc.space, candidateInstance._id, recruit.mixin.Candidate, 'applications', { state: state._id, doneState: null,