This repository was archived by the owner on Sep 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ public struct StatsAllAnnualInsight: Codable {
55 self . allAnnualInsights = allAnnualInsights
66 }
77
8- enum CodingKeys : String , CodingKey {
8+ private enum CodingKeys : String , CodingKey {
99 case allAnnualInsights = " years "
1010 }
1111}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ public struct StatsAnnualAndMostPopularTimeInsight: Codable {
88 public let mostPopularHourPercentage : Int
99 public let years : [ Year ] ?
1010
11- enum CodingKeys : String , CodingKey {
11+ private enum CodingKeys : String , CodingKey {
1212 case mostPopularHour = " highest_hour "
1313 case mostPopularHourPercentage = " highest_hour_percent "
1414 case mostPopularDayOfWeek = " highest_day_of_week "
@@ -28,7 +28,7 @@ public struct StatsAnnualAndMostPopularTimeInsight: Codable {
2828 public let totalImages : Int
2929 public let averageImages : Double
3030
31- enum CodingKeys : String , CodingKey {
31+ private enum CodingKeys : String , CodingKey {
3232 case year
3333 case totalPosts = " total_posts "
3434 case totalWords = " total_words "
You can’t perform that action at this time.
0 commit comments