Skip to content

Commit a3a6547

Browse files
authored
Forgot to change this line
1 parent e2fc33d commit a3a6547

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

winston/models/Subreddit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ struct SubredditData: Codable, GenericRedditEntityDataType, Defaults.Serializabl
457457
self.name = try container.decode(String.self, forKey: .name)
458458
self.quarantine = try container.decodeIfPresent(Bool.self, forKey: .quarantine)
459459
self.hide_ads = try container.decodeIfPresent(Bool.self, forKey: .hide_ads)
460-
self.prediction_leaderboard_entry_type = try container.decodeIfPresent(String.self, forKey: .prediction_leaderboard_entry_type)
460+
self.prediction_leaderboard_entry_type = try container.decodeIfPresent(Double.self, forKey: .prediction_leaderboard_entry_type)
461461
self.emojis_enabled = try container.decodeIfPresent(Bool.self, forKey: .emojis_enabled)
462462
self.advertiser_category = try container.decodeIfPresent(String.self, forKey: .advertiser_category)
463463
self.public_description = try container.decode(String.self, forKey: .public_description)

0 commit comments

Comments
 (0)