exports.handler = function()

in functions/source/integration/index.js [5:14]


exports.handler = function (event, context) {
    console.log('Getting pet type cat')
    http.get(path.join(integrationEndpoint, '2'), function (result) {
        console.log('Success, with: ' + result.statusCode);
        context.done(null);
    }).on('error', function (err) {
        console.log('Error, with: ' + err.message);
        context.done("Failed");
    });
};