Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Commit

Permalink
Fixed bug with subreddit header image
Browse files Browse the repository at this point in the history
  • Loading branch information
ddevault committed Feb 2, 2013
1 parent 842dde1 commit ec0320e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RedditSharp/Subreddit.cs
Expand Up @@ -226,7 +226,7 @@ public void UploadHeaderImage(string name, ImageType imageType, byte[] file)
formid = "image-upload",
img_type = imageType == ImageType.PNG ? "png" : "jpg",
upload = "",
header = true
header = 1
});
formData.AddFile("file", "foo.png", file, imageType == ImageType.PNG ? "image/png" : "image/jpeg");
formData.Finish();
Expand Down

0 comments on commit ec0320e

Please sign in to comment.