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

Commit 5d1359c

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/WordPressKit/Services/StatsServiceRemoteV2.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,7 @@ public extension StatsServiceRemoteV2 {
326326
let properties = StatsSubscribersSummaryData.queryProperties(quantity: 30, unit: unit) as [String: AnyObject]
327327

328328
wordPressComRESTAPI.get(path, parameters: properties, success: { [weak self] (response, _) in
329-
guard let self,
330-
let jsonResponse = response as? [String: AnyObject],
329+
guard let jsonResponse = response as? [String: AnyObject],
331330
let subscribersSummaryData = StatsSubscribersSummaryData(jsonDictionary: jsonResponse)
332331
else {
333332
completion(.failure(ResponseError.decodingFailure))

0 commit comments

Comments
 (0)