MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / sendSourceDisabledError

Function sendSourceDisabledError

server/api/ConnectionRoute.js:49–52  ·  view source on GitHub ↗
(res, error)

Source from the content-addressed store, hash-verified

47 };
48
49 const sendSourceDisabledError = (res, error) => {
50 if (!isSourceDisabledError(error)) return false;
51 return res.status(error.statusCode || 400).send(serializeSourceDisabledError(error));
52 };
53
54 const checkAccess = (req) => {
55 let gProject;

Callers 1

ConnectionRoute.jsFile · 0.85

Calls 2

isSourceDisabledErrorFunction · 0.85

Tested by

no test coverage detected