Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit bcfb450

Browse files
authored
Add Equatable to RemotePostCreateParameters (#755)
2 parents 0e8dec4 + e0c97bb commit bcfb450

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WordPressKit/RemotePostParameters.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Foundation
22

33
/// The parameters required to create a post or a page.
4-
public struct RemotePostCreateParameters {
4+
public struct RemotePostCreateParameters: Equatable {
55
public var status: String
66
public var date: Date?
77
public var authorID: Int?
@@ -27,7 +27,7 @@ public struct RemotePostCreateParameters {
2727
}
2828

2929
/// Represents a partial update to be applied to a post or a page.
30-
public struct RemotePostUpdateParameters {
30+
public struct RemotePostUpdateParameters: Equatable {
3131
public var ifNotModifiedSince: Date?
3232

3333
public var status: String?

0 commit comments

Comments
 (0)