We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b994fb5 commit 465fbf7Copy full SHA for 465fbf7
src/router.js
@@ -158,7 +158,7 @@ module.exports = function (source) {
158
_embed.forEach(function (otherResource) {
159
if (otherResource && otherResource.trim().length > 0) {
160
// Skip non-existent collections
161
- if (!db.object[otherResource]) return;
+ if (!db.object[otherResource]) return
162
var query = {}
163
query[req.params.resource + 'Id'] = req.params.id
164
resource[otherResource] = db(otherResource).where(query)
0 commit comments