Update api snip update

This commit is contained in:
Tim
2025-04-28 00:24:14 +02:00
parent 74154e240f
commit e2c8376482
4 changed files with 21 additions and 14 deletions

View File

@ -22,7 +22,7 @@ class Snip
private ?string $name = null;
#[ORM\Column]
private ?bool $public = null;
private bool $public = false;
#[ORM\OneToMany(mappedBy: 'snip', targetEntity: SnipContent::class, orphanRemoval: true)]
private Collection $snipContents;