Skip to content

Commit 14aa53a

Browse files
authored
Make StatsFollower Equatable (#797)
2 parents 3e5f5e6 + 3291ab9 commit 14aa53a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ _None._
4646
### Internal Changes
4747

4848
- Update new APIs to create and update posts introduced `PostServiceRemoteExtended` to use `wp.newPost` and `wp.editPost` instead of the older versions of these APIs [#792]
49+
- Update `StatsFollower` to be `Equatable` [#797]
4950

5051

5152
## 17.0.0

Sources/WordPressKit/Models/Stats/Insights/StatsDotComFollowersInsight.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extension StatsDotComFollowersInsight: StatsInsightData {
2929
fileprivate static let dateFormatter = ISO8601DateFormatter()
3030
}
3131

32-
public struct StatsFollower: Codable {
32+
public struct StatsFollower: Codable, Equatable {
3333
public let id: String?
3434
public let name: String
3535
public let subscribedDate: Date

0 commit comments

Comments
 (0)