mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
lint photoprism
This commit is contained in:
parent
95b416c243
commit
10097ab4fc
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user