Update APs on access

This commit is contained in:
Douglas Barone 2022-09-01 09:43:18 -04:00
parent b52f2c22d5
commit 8e29018384

View File

@ -1,6 +1,9 @@
import { updateAccessPoints } from '../../lib/accessPoints'
import prisma from '../../prisma'
export async function accessPoints() {
updateAccessPoints()
return prisma.accessPoint.findMany({
orderBy: {
hostname: 'asc'