chore: update whitelabel example (#6049)

This commit is contained in:
Paul
2024-04-25 17:24:42 -03:00
committed by GitHub
parent c1d9c81b68
commit 3581f39c31
23 changed files with 5400 additions and 7182 deletions

View File

@@ -1,14 +0,0 @@
import configPromise from '@payload-config'
import { getPayload } from 'payload'
export const GET = async () => {
const payload = await getPayload({
config: configPromise,
})
const data = await payload.find({
collection: 'users',
})
return Response.json(data)
}