function apiGatewayResponse()

in sample-project/api/handler.js [70:75]


function apiGatewayResponse(statusCode, body) {
    return {
        body: JSON.stringify(body, null, '\t'),
        statusCode: statusCode
    }
}