Enhancement: Better content type creation for Astro #704

This commit is contained in:
Elio Struyf
2023-11-11 12:35:32 -08:00
parent ffdf8262d7
commit 5f13d318c2
+1 -1
View File
@@ -216,7 +216,7 @@ export class SsgListener extends BaseListener {
} as Field;
break;
case 'ZodBoolean':
if (field.name === 'published') {
if (field.name === 'draft') {
ctField = {
name: field.name,
type: 'draft'