/api/info values should be numbers. fixes #748
This commit is contained in:
parent
a4e13f032a
commit
be498e0bd3
@ -21,8 +21,8 @@ module.exports = async function(req, res) {
|
||||
}
|
||||
const ttl = await storage.ttl(id);
|
||||
return res.send({
|
||||
dlimit: meta.dlimit,
|
||||
dtotal: meta.dl,
|
||||
dlimit: +meta.dlimit,
|
||||
dtotal: +meta.dl,
|
||||
ttl
|
||||
});
|
||||
} catch (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user