Skip to content

Commit 1766c0d

Browse files
committed
Remove networking layer details.
1 parent 15cd478 commit 1766c0d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Networking/Networking/Remote/DomainRemote.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public struct FreeDomainSuggestion: Decodable, Equatable {
4242
}
4343

4444
/// Necessary data for a site's domain.
45-
public struct SiteDomain: Decodable, Equatable {
45+
public struct SiteDomain: Equatable {
4646
/// Domain name.
4747
public let name: String
4848

@@ -57,12 +57,6 @@ public struct SiteDomain: Decodable, Equatable {
5757
self.isPrimary = isPrimary
5858
self.renewalDate = renewalDate
5959
}
60-
61-
private enum CodingKeys: String, CodingKey {
62-
case name = "domain"
63-
case isPrimary = "primary_domain"
64-
case renewalDate = "auto_renewal_date"
65-
}
6660
}
6761

6862
// MARK: - Constants

0 commit comments

Comments
 (0)