Update APs on access
This commit is contained in:
parent
b52f2c22d5
commit
8e29018384
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue
Block a user