fix(treasurechest): make parentId actually null/nil instead of uuid.Nil
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m0s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 5m25s

This commit was merged in pull request #117.
This commit is contained in:
2025-05-19 19:56:06 +02:00
parent b18863038c
commit 7a691ec263
8 changed files with 54 additions and 39 deletions

View File

@@ -228,7 +228,7 @@ func (h TransactionImpl) getTransactionData(accounts []*types.Account, treasureC
treasureChestMap := make(map[uuid.UUID]string, 0)
root := ""
for _, treasureChest := range treasureChests {
if treasureChest.ParentId == uuid.Nil {
if treasureChest.ParentId == nil {
root = treasureChest.Name + " > "
treasureChestMap[treasureChest.Id] = treasureChest.Name
} else {