I have to send a attachment as params in ember collectionAction
> let attachment = this.get('store').createRecord('attachment');
> attachment.set('resource', file);
>this.get('store').createRecord('applicant').parseResume(attachment);
where parseResume is the collectionAction for applicant
This throws "Maximum call stack size exceeded" in browser console.
I can't save attachment first and send parse resume second, as it involves two network request. I want to achieve it in single request.
Aucun commentaire:
Enregistrer un commentaire