Remove redundant console log

This commit is contained in:
Aelita4 2022-08-22 11:25:11 +02:00
parent b5cfa42197
commit a4166221de
Signed by: Aelita4
GPG Key ID: F8EC95519509D1D5
1 changed files with 0 additions and 1 deletions

View File

@ -4,7 +4,6 @@ export default {
method: "GET", method: "GET",
url: "/ping/:ip", url: "/ping/:ip",
callback: async (data: any, req: Request, res: Response) => { callback: async (data: any, req: Request, res: Response) => {
console.log(data.pings)
const ip = req.params.ip; const ip = req.params.ip;
const r = await data.ping(ip); const r = await data.ping(ip);
if(!r.alive && data.pings.get(ip).split("_")[1] === "1") data.pings.set(ip, `${Date.now()}_0`); if(!r.alive && data.pings.get(ip).split("_")[1] === "1") data.pings.set(ip, `${Date.now()}_0`);