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

Commit 4529937

Browse files
authored
Decode hasJetpack from remote response hasJetpack field due to the change of API call. (#110)
1 parent 780a4b5 commit 4529937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPressAuthenticator/Model/WordPressComSiteInfo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class WordPressComSiteInfo {
3737
name = remote["name"] as? String ?? ""
3838
tagline = remote["description"] as? String ?? ""
3939
url = remote["URL"] as? String ?? ""
40-
hasJetpack = remote["jetpack"] as? Bool ?? false
40+
hasJetpack = remote["hasJetpack"] as? Bool ?? false
4141
icon = remote["icon.img"] as? String ?? ""
4242
isWPCom = remote["isWordPressDotCom"] as? Bool ?? false
4343

0 commit comments

Comments
 (0)