Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit 548d373

Browse files
committed
adding updated date to the release and releases API response.
1 parent a2b1972 commit 548d373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/models/release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ ReleaseSchema.statics.getByGame = function(slug, options, callback)
258258
select.sort('-created');
259259

260260
select
261-
.select('version url capabilities commitId game -_id')
261+
.select('version url capabilities commitId game updated -_id')
262262
.populate('game', 'slug location title -_id')
263263
.exec(done);
264264
}],
@@ -304,4 +304,4 @@ ReleaseSchema.statics.removeById = function(id, callback)
304304
});
305305
};
306306

307-
module.exports = mongoose.model('Release', ReleaseSchema);
307+
module.exports = mongoose.model('Release', ReleaseSchema);

0 commit comments

Comments
 (0)