From 96080eaaeb64ef87998f0da10757af9b893da46e Mon Sep 17 00:00:00 2001 From: Benoit Date: Sat, 7 Jan 2023 12:20:38 +0100 Subject: [PATCH] Synology widget: code cleanup --- src/widgets/synology/proxy.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/widgets/synology/proxy.js b/src/widgets/synology/proxy.js index 9e42d355..b0590ca7 100644 --- a/src/widgets/synology/proxy.js +++ b/src/widgets/synology/proxy.js @@ -1,8 +1,8 @@ + import { formatApiCall } from "utils/proxy/api-helpers"; import { httpProxy } from "utils/proxy/http"; import createLogger from "utils/logger"; import getServiceWidget from "utils/config/service-helpers"; -import {console} from "next/dist/compiled/@edge-runtime/primitives/console"; const proxyName = "synologyProxyHandler"; @@ -116,6 +116,5 @@ export default async function synologyProxyHandler(req, res) { cpuLoad, } if (contentType) res.setHeader("Content-Type", contentType); - console.log("Response Data: ", resdata); return res.status(status).send(JSON.stringify(resdata)); }