generated from VLADIMIR/template
fix
This commit is contained in:
@@ -39,7 +39,7 @@ func (r *Repo) CreateBatch(ctx context.Context, gameID int, tokenHashes [][]byte
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer tx.Rollback(ctx)
|
||||
defer func() { _ = tx.Rollback(ctx) }()
|
||||
|
||||
ids := make([]int, 0, len(tokenHashes))
|
||||
for _, tokenHash := range tokenHashes {
|
||||
|
||||
Reference in New Issue
Block a user