Fix FAQFull: Use isDraft boolean for draft filtering, fix Kontakt ID override

This commit is contained in:
MichalC
2026-09-16 12:31:19 +02:00
parent 437e1e4823
commit 9043301da6
140 changed files with 23337 additions and 724 deletions
+14
View File
@@ -0,0 +1,14 @@
import { getPayload } from 'payload'
import configPromise from '../src/payload.config'
async function run() {
const payload = await getPayload({ config: configPromise })
const pages = await payload.find({
collection: 'pages',
locale: 'pl'
})
pages.docs.forEach(p => console.log(`ID: ${p.id}, Slug: ${p.slug}, Title: ${p.title}`))
process.exit(0)
}
run()