PR feedback: remove spaces in comments

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Jens Neuber 2022-01-05 15:25:42 +01:00 committed by GitHub
parent df8f93f0c2
commit a9d264ccfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -313,7 +313,7 @@ router.get("/api/badge/:id/uptime/:duration?", cache("5 minutes"), async (reques
requestedMonitorId
);
// limit the displayed uptime percentage to four ( two, when displayed as percent ) decimal digits
// limit the displayed uptime percentage to four (two, when displayed as percent) decimal digits
const cleanUptime = parseFloat(uptime.toPrecision(4));
// use a given, custom color or calculate one based on the uptime value