Moved all objects to a single data store: the cache.

This commit is contained in:
Art Lowel
2017-02-15 15:57:38 +01:00
parent c8fb98760d
commit 2e5441d6f7
18 changed files with 240 additions and 55 deletions

View File

@@ -92,7 +92,7 @@ export function createMockApi() {
router.route('/collections/:collection_id')
.get(function(req, res) {
console.log('GET', util.inspect(req.collection, { colors: true }));
console.log('GET', util.inspect(req.collection.id, { colors: true }));
res.json(toHALResponse(req, req.collection));
// })
// .put(function(req, res) {