Commit 1f89d3d4 authored by andreagerino's avatar andreagerino

Fixing get timestamp container

parent 3ca44456
...@@ -96,7 +96,7 @@ router.post('/', function(req, res, next){ ...@@ -96,7 +96,7 @@ router.post('/', function(req, res, next){
function getTimestampContainer(arg){ function getTimestampContainer(arg){
if(arg['timestamp']!=undefined&&(arg['timestamp']['utc']!=undefined)||arg['timestamp']['user']!=undefined) if(arg['timestamp']!=undefined&&(arg['timestamp']['utc']!=undefined||arg['timestamp']['user']!=undefined))
return arg['timestamp']; return arg['timestamp'];
return undefined; return undefined;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment