mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-06 10:18:43 +01:00
chore(server): add logs to begin/end transaction
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
15a3d2ca66
commit
5fa19f9cfa
8 changed files with 29 additions and 15 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue