mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 16:35:49 +01:00
More cleanup and history added
This commit is contained in:
@@ -36,7 +36,7 @@ async function Get(req: NextApiRequest, res: NextApiResponse) {
|
||||
eta: eta.asSeconds(),
|
||||
name: slot.filename,
|
||||
progress: parseFloat(slot.percentage),
|
||||
size: parseFloat(slot.mb),
|
||||
size: parseFloat(slot.mb) * 1000 * 1000,
|
||||
state: slot.status.toLowerCase() as any,
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user