Permalink
Browse files

Edited vehicle.js

  • Loading branch information...
Jakeeyturner committed Jan 4, 2017
1 parent 928c2e7 commit af7b13dc682cef784483e646b26308ddf3515e55
Showing with 2 additions and 2 deletions.
  1. +2 −2 Server_Side/admin/demo/CRUD/create.js
@@ -84,7 +84,7 @@ function create(req, res, next, usersToSecurityContext) {
})
.catch(function(err) {
tracing.create('ERROR DEMO', JSON.stringify(err), '');
updateDemoStatus({'message: ': JSON.stringify(err), error: true});
updateDemoStatus({message: JSON.stringify(err), error: true});
tracing.create('ERROR', 'POST admin/demo', err.stack);
// chain.getEventHub().disconnect();
res.end(JSON.stringify(err));
@@ -93,7 +93,7 @@ function create(req, res, next, usersToSecurityContext) {
let error = {};
error.message = 'Initial vehicles not found';
error.error = true;
updateDemoStatus({'message: ': JSON.stringify(error), error: true});
updateDemoStatus({message: JSON.stringify(error), error: true});
res.end(JSON.stringify(error));
return;
}

0 comments on commit af7b13d

Please sign in to comment.