fix draft only created for user who creates them

This commit is contained in:
StudioTem committed 2025-12-15 14:27:32 +01:00
1 parent 584f708076
commit 604dc4f988
4 files changed
+178 -15

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ class SubTask extends Model
public $timestamps = true;
public $guarded = ['id'];
protected $casts = [
'draft_data' => 'array',
];
/**
* Scope pre koncepty (drafty) - nezverejnené subtasky
*/