@c-time/frelio-data-json-generator 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -233,7 +233,7 @@ function parseContent(path, content) {
233
233
  contentId,
234
234
  contentTypeId,
235
235
  slug: json.slug ?? json.data?.slug ?? contentId,
236
- title: json.title ?? "",
236
+ title: json.title ?? json.data?.title ?? "",
237
237
  status: json.status ?? "draft",
238
238
  data: json.data ?? {},
239
239
  createdAt: json.createdAt ?? "",