From d382cdf5fa13f2467d810dd33fbc949beaabdf32 Mon Sep 17 00:00:00 2001 From: andreagerino Date: Fri, 8 Apr 2016 11:13:55 +0200 Subject: [PATCH] Fixing get timestamp container for retro compatibility with V0 timestamp format --- routes/storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/storage.js b/routes/storage.js index 6c40472..24a1408 100644 --- a/routes/storage.js +++ b/routes/storage.js @@ -99,7 +99,7 @@ function getTimestampContainer(arg){ if(arg['timestamp']!=undefined&&(arg['timestamp']['utc']!=undefined||arg['timestamp']['user']!=undefined)) return arg['timestamp']; - return undefined; + return {}; } -- 2.18.1