Update send403 to sendHttpError

pull/2574/head
Louis Lam 1 year ago
parent 3dbd8277f0
commit fe40d819bd

@ -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…
Cancel
Save