{"size": 351, "ext": "js", "max_stars_repo_path": "routes/fakeletter.js", "max_stars_repo_name": "christinado98/WeethTest2", "max_stars_repo_stars_event_min_datetime": "2020-09-10T17:57:44.000Z", "max_stars_repo_stars_event_max_datetime": "2020-09-10T17:57:44.000Z", "max_issues_repo_path": "routes/fakeletter.js", "max_issues_repo_name": "christinado98/WeethTest2", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "routes/fakeletter.js", "max_forks_repo_name": "christinado98/WeethTest2", "max_forks_repo_forks_event_min_datetime": "2020-02-20T19:33:02.000Z", "max_forks_repo_forks_event_max_datetime": "2020-02-24T04:08:12.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 5, "avg_line_length": 25.0714285714, "max_line_length": 51, "alphanum_fraction": 0.6495726496}
var data = require("../data/notification.json");

exports.view = function(req, res) {
  data.string.splice(0, 1, "Past Notification(s)");
  data["viewB"] = false;
  res.render("fakeletter", data);
};

exports.viewB = function(req, res) {
  data.string.splice(0, 1, "Past Notification(s)");
  data["viewB"] = true;
  res.render("fakeletter", data);
};
