mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03:00
/api/info values should be numbers. fixes #748
This commit is contained in:
@@ -21,8 +21,8 @@ module.exports = async function(req, res) {
|
|||||||
}
|
}
|
||||||
const ttl = await storage.ttl(id);
|
const ttl = await storage.ttl(id);
|
||||||
return res.send({
|
return res.send({
|
||||||
dlimit: meta.dlimit,
|
dlimit: +meta.dlimit,
|
||||||
dtotal: meta.dl,
|
dtotal: +meta.dl,
|
||||||
ttl
|
ttl
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user