cityssm/parking-ticket-system

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

Summary

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