Closed vmarcel closed 7 years ago
Sorry for the late answer, I missed this issue.
filter
returns a sequence, while addRelation
expect a single document.
You probably want something like this:
volcanProject.filter({volcan_id: req.user.id}).nth(0).addRelation(...)
I am having a strange error when I use addRelation on a new document.
The full stack trace is:
I am not sure what to do. Both docs are already created, I am unsure what is happening. Any help would be appreciated