mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-06 07:22:07 +08:00
lint photoprism
This commit is contained in:
@@ -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) {
|
if (status !== 200) {
|
||||||
logger.error("HTTP %d getting data from PhotoPrism. Data: %s", status, data);
|
logger.error("HTTP %d getting data from PhotoPrism. Data: %s", status, data);
|
||||||
|
|||||||
Reference in New Issue
Block a user