Fix turnstile
This commit is contained in:
@@ -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',
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user