mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
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:
@@ -73,7 +73,7 @@ exp.get_details = function(uuid, callback) {
|
|||||||
if (data) {
|
if (data) {
|
||||||
details = {
|
details = {
|
||||||
hash: (data.h == "null" ? null : data.h),
|
hash: (data.h == "null" ? null : data.h),
|
||||||
time: data.t
|
time: Number(data.t)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
callback(err, details);
|
callback(err, details);
|
||||||
|
|||||||
Reference in New Issue
Block a user