cityssm/parking-ticket-system

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

Summary

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