Loading lib/document_handler.js +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ DocumentHandler.prototype.handleGet = function(key, response) { } else { winston.warn('document not found', { key: key }); response.writeHead(400, { 'content-type': 'application/json' }); response.writeHead(404, { 'content-type': 'application/json' }); response.end(JSON.stringify({ message: 'document not found' })); } }; Loading Loading
lib/document_handler.js +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ DocumentHandler.prototype.handleGet = function(key, response) { } else { winston.warn('document not found', { key: key }); response.writeHead(400, { 'content-type': 'application/json' }); response.writeHead(404, { 'content-type': 'application/json' }); response.end(JSON.stringify({ message: 'document not found' })); } }; Loading