cityssm/parking-ticket-system

View on GitHub
handlers/plates-post/doAddAllParkingTicketsToLookupBatch.js

Summary

Maintainability
A
35 mins
Test Coverage
A
100%
import { addAllParkingTicketsToLookupBatch } from '../../database/parkingDB/addLicencePlateToLookupBatch.js';
export default function handler(request, response) {
    const result = addAllParkingTicketsToLookupBatch(request.body, request.session.user);
    response.json(result);
}