From 1f7b4cede2950394dd7cd82f429e935d2291ddd3 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 19 May 2026 15:24:56 +0000 Subject: [PATCH] lint: remove embedded field that's unnecessary --- db/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/tx.go b/db/tx.go index 1f69c697..211b6ae0 100644 --- a/db/tx.go +++ b/db/tx.go @@ -20,7 +20,7 @@ type Tx struct { } func (txn Tx) ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error) { - result, err := txn.Tx.Exec(ctx, query, args...) + result, err := txn.Exec(ctx, query, args...) if err != nil { return Result{}, fmt.Errorf("exec: %w", err) }