cityssm/lottery-licence-manager

View on GitHub
handlers/events-post/doGetPastBankInformation.ts

Summary

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

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


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

  const bankInfoList = getPastEventBankingInformation(request.body.licenceID);
  response.json(bankInfoList);

};


export default handler;