Fix turnstile

This commit is contained in:
2026-10-15 15:53:32 +02:00
parent 7dc93ac5ed
commit 70b676660d
80 changed files with 1136 additions and 902 deletions
+2 -2
View File
@@ -1,5 +1,4 @@
import type { GlobalConfig } from 'payload'
import { notificationsFields } from './fields.js'
/**
@@ -10,10 +9,11 @@ import { notificationsFields } from './fields.js'
export function buildNotifications(): GlobalConfig {
return {
slug: 'notifications',
label: 'Notifications',
admin: { group: 'Settings' },
access: {
read: () => true, // texts are public-facing (shown to end users)
},
fields: notificationsFields,
label: 'Notifications',
}
}