Fix admin user seeding
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tobias 2025-04-18 18:52:32 +09:00
parent 2e372d1aae
commit 2e1a1fc848

View File

@ -63,7 +63,7 @@ export default buildConfig({
limit: 2, limit: 2,
}) })
if (existingUsers.docs.length === 0 || existingUsers.docs.length === 1) { if (existingUsers.docs.length === 0) {
await payload.create({ await payload.create({
collection: 'users', collection: 'users',
data: { data: {