cityssm/parking-ticket-system

View on GitHub
handlers/admin-get/locations.js

Summary

Maintainability
A
30 mins
Test Coverage
A
100%
import { getParkingLocations } from '../../helpers/functions.cache.js';
export default function handler(_request, response) {
    const locations = getParkingLocations();
    response.render('location-maint', {
        headTitle: 'Parking Location Maintenance',
        locations
    });
}