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

Commit 2eba9d2

Browse files
authored
Merge pull request #503 from wordpress-mobile/task/18389-update-mark-qs-checklist-as-complete
Set variant param as "next-step" for Quick Start complete notification
2 parents 1d1a48a + bee5f1b commit 2eba9d2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

WordPressKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |s|
44
s.name = 'WordPressKit'
5-
s.version = '4.52.0-beta.2'
5+
s.version = '4.52.0-beta.3'
66

77
s.summary = 'WordPressKit offers a clean and simple WordPress.com and WordPress.org API.'
88
s.description = <<-DESC

WordPressKit/SiteManagementServiceRemote.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,10 @@ open class SiteManagementServiceRemote: ServiceRemoteWordPressComREST {
110110
@objc open func markQuickStartChecklistAsComplete(_ siteID: NSNumber, success: (() -> Void)?, failure: ((NSError) -> Void)?) {
111111
let endpoint = "sites/\(siteID)/mobile-quick-start"
112112
let path = self.path(forEndpoint: endpoint, withVersion: ._1_1)
113+
let parameters = ["variant": "next-steps"] as [String: AnyObject]
113114

114115
wordPressComRestApi.POST(path,
115-
parameters: nil,
116+
parameters: parameters,
116117
success: { _, _ in
117118
success?()
118119
},

0 commit comments

Comments
 (0)