This commit is contained in:
2026-10-03 12:23:33 +07:00
parent a8cfa96578
commit 14572d6562
5 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -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 {