Skip to content

Commit

Permalink
Remove ctx param from RegisterTxDb call
Browse files Browse the repository at this point in the history
  • Loading branch information
reductionista committed Nov 2, 2024
1 parent 30104f2 commit b622cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/services/pg/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func NewConnection(ctx context.Context, uri string, dialect pgcommon.DialectName
// txdb it should have already been set at the point where we called
// txdb.Register

err := pgcommon.RegisterTxDb(ctx, uri)
err := pgcommon.RegisterTxDb(uri)
if err != nil {
return nil, fmt.Errorf("failed to register txdb: %w", err)
}
Expand Down

0 comments on commit b622cb9

Please sign in to comment.