cityssm/lottery-licence-manager

View on GitHub
handlers/organizations-get/reminders.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { RequestHandler } from "express";

import { getUndismissedOrganizationReminders } from "../../helpers/licencesDB/getUndismissedOrganizationReminders.js";


export const handler: RequestHandler = (request, response) => {

  const reminders = getUndismissedOrganizationReminders(request.session);

  response.render("organization-reminders", {
    headTitle: "Organization Reminders",
    reminders
  });
};


export default handler;