mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-18 10:28:05 +00:00
Update send403 to sendHttpError
This commit is contained in:
parent
3dbd8277f0
commit
fe40d819bd
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ router.get("/api/status-page/:slug/badge", cache("5 minutes"), async (request, r
|
||||||
response.send(svg);
|
response.send(svg);
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
send403(response, error.message);
|
sendHttpError(response, error.message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue