cityssm/parking-ticket-system

View on GitHub
handlers/tickets-post/doUpdateTicket.js

Summary

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