cityssm/parking-ticket-system

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

Summary

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