Fix Set Parent

Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
2026-04-15 18:20:07 +02:00
parent b466216b3a
commit 2208dcc0fb
@@ -94,7 +94,7 @@ class NodeMember(id: EntityID<CompositeID>) : CompositeEntity(id) {
{ Optional.ofNullable(it?.value) })
private set
fun setParentId(id: Int?) {
fun setParentId(id: Int?) = useDb {
parent = Optional.ofNullable(id)
}