chore(server): add logs to begin/end transaction

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan
2025-02-24 19:13:42 -05:00
parent 15a3d2ca66
commit 5fa19f9cfa
8 changed files with 29 additions and 15 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ func (db *MockDataStore) Radio(ctx context.Context) model.RadioRepository {
return db.MockedRadio
}
func (db *MockDataStore) WithTx(block func(model.DataStore) error) error {
func (db *MockDataStore) WithTx(block func(tx model.DataStore) error, label ...string) error {
return block(db)
}