@plyaz/core 1.18.5 → 1.18.6

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/index.cjs CHANGED
@@ -48336,7 +48336,7 @@ var ExampleRepository = class _ExampleRepository extends db.BaseRepository {
48336
48336
  name: data.name ?? "",
48337
48337
  description: data.description ?? null,
48338
48338
  amount: data.amount ?? 0,
48339
- owner_id: data.owner_id ?? null,
48339
+ owner_id: data.owner_id ?? core.SYSTEM_USER_ID,
48340
48340
  status: data.status ?? "draft",
48341
48341
  is_visible: data.is_visible ?? true,
48342
48342
  created_at: now,
@@ -48350,7 +48350,7 @@ var ExampleRepository = class _ExampleRepository extends db.BaseRepository {
48350
48350
  name: data.name ?? "",
48351
48351
  description: data.description ?? null,
48352
48352
  amount: data.amount ?? 0,
48353
- owner_id: data.owner_id ?? null,
48353
+ owner_id: data.owner_id ?? core.SYSTEM_USER_ID,
48354
48354
  status: data.status ?? "draft",
48355
48355
  is_visible: data.is_visible ?? true,
48356
48356
  created_at: now,