Remove misbehaving test route
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
95a00c63ea
commit
199234a7e2
@ -1,14 +0,0 @@
|
|||||||
import { getPayloadHMR } from '@payloadcms/next/utilities'
|
|
||||||
import configPromise from '@payload-config'
|
|
||||||
|
|
||||||
export const GET = async () => {
|
|
||||||
const payload = await getPayloadHMR({
|
|
||||||
config: configPromise,
|
|
||||||
})
|
|
||||||
|
|
||||||
const data = await payload.find({
|
|
||||||
collection: 'users',
|
|
||||||
})
|
|
||||||
|
|
||||||
return Response.json(data)
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user