cityssm/parking-ticket-system

View on GitHub
handlers/offences-post/doGetAllOffences.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import getParkingOffences from '../../database/parkingDB/getParkingOffences.js';
export default function handler(_request, response) {
    response.json(getParkingOffences());
}