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

Commit 3197069

Browse files
author
Paul Von Schrottky
committed
fix another linter issue
1 parent 5d1359c commit 3197069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/WordPressKit/Services/StatsServiceRemoteV2.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ public extension StatsServiceRemoteV2 {
325325
let path = self.path(forEndpoint: "sites/\(siteID)/\(pathComponent)/", withVersion: ._1_1)
326326
let properties = StatsSubscribersSummaryData.queryProperties(quantity: 30, unit: unit) as [String: AnyObject]
327327

328-
wordPressComRESTAPI.get(path, parameters: properties, success: { [weak self] (response, _) in
328+
wordPressComRESTAPI.get(path, parameters: properties, success: { (response, _) in
329329
guard let jsonResponse = response as? [String: AnyObject],
330330
let subscribersSummaryData = StatsSubscribersSummaryData(jsonDictionary: jsonResponse)
331331
else {

0 commit comments

Comments
 (0)