Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/serverless/examples
/ buildResponse
Function
buildResponse
aws-node-github-check/libs/response-lib.js:1–6 ·
view source on GitHub ↗
(statusCode, body)
Source
from the content-addressed store, hash-verified
1
function
buildResponse(statusCode, body) {
2
return
{
3
statusCode,
4
body: JSON.stringify(body),
5
};
6
}
7
8
function
buildGithubPayload(state, description) {
9
return
{
Callers
2
success
Function · 0.85
failure
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected