Skip to content

Commit 0cd19a8

Browse files
committed
Fixed an error with SelectFlairWithID error init
Signed-off-by: Sandy <thecsw@ku.edu>
1 parent f92483e commit 0cd19a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reddit.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ func (c *Reddit) SelectFlair(text string) error {
643643

644644
func (c *Reddit) SelectFlairWithID(name, text string) error {
645645
target := RedditOauth + "/api/selectflair"
646-
_, err = c.MiraRequest("POST", target, map[string]string{
646+
_, err := c.MiraRequest("POST", target, map[string]string{
647647
"link": name,
648648
"text": text,
649649
"api_type": "json",

0 commit comments

Comments
 (0)