Remove extra semicolon

This commit is contained in:
Sijawusz Pur Rahnama
2015-05-30 19:54:01 +02:00
parent b994fb5592
commit 465fbf72bb

View File

@ -158,7 +158,7 @@ module.exports = function (source) {
_embed.forEach(function (otherResource) {
if (otherResource && otherResource.trim().length > 0) {
// Skip non-existent collections
if (!db.object[otherResource]) return;
if (!db.object[otherResource]) return
var query = {}
query[req.params.resource + 'Id'] = req.params.id
resource[otherResource] = db(otherResource).where(query)