{"size": 665, "ext": "js", "max_stars_repo_path": "route/registration/_id/_get-response.js", "max_stars_repo_name": "opentoken-io/opentoken", "max_stars_repo_stars_event_min_datetime": "2016-04-09T16:45:58.000Z", "max_stars_repo_stars_event_max_datetime": "2020-09-10T11:09:02.000Z", "max_issues_repo_path": "route/registration/_id/_get-response.js", "max_issues_repo_name": "opentoken-io/opentoken", "max_issues_repo_issues_event_min_datetime": "2016-03-23T15:16:34.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-08T23:41:09.000Z", "max_forks_repo_path": "route/registration/_id/_get-response.js", "max_forks_repo_name": "opentoken-io/opentoken", "max_forks_repo_forks_event_min_datetime": "2016-03-23T15:06:04.000Z", "max_forks_repo_forks_event_max_datetime": "2018-08-07T15:12:57.000Z"}
{"max_stars_count": 12, "max_issues_count": 141, "max_forks_count": 8, "avg_line_length": 28.9130434783, "max_line_length": 70, "alphanum_fraction": 0.4601503759}
"use strict";

module.exports = (server) => {
    return (secureInfoGroup, res) => {
        res.links({
            edit: {
                href: server.router.render("registration-secure", {
                    id: secureInfoGroup.id
                }),
                profile: "/schema/registration/secure-request.json",
                title: "registration-secure"
            },
            item: {
                href: server.router.render("registration-secure-qr", {
                    id: secureInfoGroup.id
                }),
                title: "registration-secure-qr"
            }
        });
        res.send(secureInfoGroup.record);
    };
};
