fix stupid bug that would result in never updating images

redis gives us a string. Thus, <time> + <number> resulted in '<time><number>' which was quite a big number and wouldn't ever be bigger than a valid Date
This commit is contained in:
jomo 2014-11-05 00:04:50 +01:00
parent 939d8f10a4
commit 5f63cfac78

View File

@ -73,7 +73,7 @@ exp.get_details = function(uuid, callback) {
if (data) {
details = {
hash: (data.h == "null" ? null : data.h),
time: data.t
time: Number(data.t)
};
}
callback(err, details);