mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 20:52:08 +08:00
Remove extra semicolon
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user