{"size": 379, "ext": "js", "max_stars_repo_path": "client/register/enterContactInfo.js", "max_stars_repo_name": "hkniberg/bokagrupp", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/register/enterContactInfo.js", "max_issues_repo_name": "hkniberg/bokagrupp", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client/register/enterContactInfo.js", "max_forks_repo_name": "hkniberg/bokagrupp", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 34.4545454545, "max_line_length": 79, "alphanum_fraction": 0.7335092348}
import {getPublicRouteToCourse} from "../../lib/router";
import {getCurrentCourse} from "../bookingSession";
//TODO "Tyvärr hann din grupp precis bli fullbokad",

AutoForm.addHooks(['enterContactInfoForm'], {
  onSuccess: function(formType, bookingId) {
    const course = getCurrentCourse()
    Router.go(getPublicRouteToCourse(course) + "/bookingComplete/" + bookingId)
  }
})
