{"size": 232, "ext": "js", "max_stars_repo_path": "lambdas/onconnect/index.js", "max_stars_repo_name": "dilo-cc/dilo", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lambdas/onconnect/index.js", "max_issues_repo_name": "dilo-cc/dilo", "max_issues_repo_issues_event_min_datetime": "2020-04-27T22:18:08.000Z", "max_issues_repo_issues_event_max_datetime": "2020-09-12T18:41:28.000Z", "max_forks_repo_path": "lambdas/onconnect/index.js", "max_forks_repo_name": "jonathanmv/simple-websockets-chat-app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 47, "max_forks_count": null, "avg_line_length": 29.0, "max_line_length": 56, "alphanum_fraction": 0.6939655172}
const { saveConnection } = require("../api/connection");

module.exports = async event => {
  const { connectionId } = event.requestContext;
  await saveConnection(connectionId);
  return { statusCode: 200, body: "Connected." };
};
