Skip to content

Commit 638c9e6

Browse files
committed
Removing unused property
Post::Subreddit property was only used in the set flair method. Since it was not required there, it can be removed. It was a public property so this may break consumers if they were trying to get something, what I don't know, out of it.
1 parent 4abad44 commit 638c9e6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

RedditSharp/Things/Post.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ public Comment[] Comments
116116
[JsonProperty("selftext_html")]
117117
public string SelfTextHtml { get; set; }
118118

119-
[JsonProperty("subreddit")]
120-
public string Subreddit { get; set; }
121-
122119
[JsonProperty("thumbnail")]
123120
[JsonConverter(typeof(UrlParser))]
124121
public Uri Thumbnail { get; set; }

0 commit comments

Comments
 (0)