Browse Source

lint photoprism

shamoon 2 years ago
parent
commit
10097ab4fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/widgets/photoprism/proxy.js

+ 1 - 1
src/widgets/photoprism/proxy.js

@@ -34,7 +34,7 @@ export default async function photoprismProxyHandler(req, res) {
     });
   }
 
-  let [status, contentType, data] = await httpProxy(url, params);
+  const [status, contentType, data] = await httpProxy(url, params);
 
   if (status !== 200) {
     logger.error("HTTP %d getting data from PhotoPrism. Data: %s", status, data);