Skip to content

Commit

Permalink
bug: change the interface of pg
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Nov 20, 2024
1 parent 4d9631c commit dd706ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbx/pg/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (

// Context returns a new Context that carries the provided Config.
func (cfg *Config) Context(ctx context.Context) context.Context {
return context.WithValue(ctx, configKey, *cfg)
return context.WithValue(ctx, configKey, cfg)
}

// FromContext will return the Config carried in the provided Context.
Expand Down

0 comments on commit dd706ae

Please sign in to comment.