feat: add payload routes on /gestion59

This commit is contained in:
Enguerrand Ozano
2026-02-28 15:17:56 +01:00
parent 65a222fbc7
commit e6a982e735
4 changed files with 36 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
import { REST_DELETE, REST_GET, REST_PATCH, REST_POST } from '@payloadcms/next/routes'
import config from '../../../../payload.config'
export const GET = REST_GET(config)
export const POST = REST_POST(config)
export const DELETE = REST_DELETE(config)
export const PATCH = REST_PATCH(config)