1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-30 08:56:52 +02:00

Update send403 to sendHttpError

This commit is contained in:
Louis Lam 2023-07-08 21:34:58 +08:00
parent 3dbd8277f0
commit fe40d819bd

View File

@ -233,7 +233,7 @@ router.get("/api/status-page/:slug/badge", cache("5 minutes"), async (request, r
response.send(svg);
} catch (error) {
send403(response, error.message);
sendHttpError(response, error.message);
}
});