We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69adf08 commit 5dc6373Copy full SHA for 5dc6373
auth.go
@@ -74,7 +74,9 @@ func (c *Reddit) auto_refresh() {
74
// Reauthenticate and updates the object itself
75
func (c *Reddit) update_creds() {
76
temp, _ := Authenticate(&c.Creds)
77
+ tempClient := c.Client
78
*c = *temp
79
+ c.SetClient(tempClient)
80
}
81
82
func (c *Reddit) SetDefault() {
0 commit comments