fix: Fire transaction updated event after a label change (#73)

This commit is contained in:
Víctor Falcón 2026-01-22 15:25:52 +01:00 committed by GitHub
parent f30e600b75
commit 134a292ddb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -252,7 +252,8 @@ class TransactionController extends Controller
$mergedLabelIds = array_unique(array_merge($existingLabelIds, $labelIds));
$transaction->labels()->sync($mergedLabelIds);
}
$transaction->touch();
$transaction->save();
}
}