mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01: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:
parent
939d8f10a4
commit
5f63cfac78
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user