Skip to content

Commit

Permalink
pass correct client to patchWithAgent in newAppClient
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelshobbs committed Jun 17, 2020
1 parent 65715ee commit 53c55c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reddit/appclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func newAppClient(c clientConfig) (*appClient, error) {
if c.client == nil {
client = clientWithAgent(c.agent)
} else {
client = patchWithAgent(client, c.agent)
client = patchWithAgent(c.client, c.agent)
}

a := &appClient{
Expand Down

0 comments on commit 53c55c6

Please sign in to comment.