Skip to content

Commit 0879a06

Browse files
committed
5976 GET request for charges: fixes rest_no_route
1 parent 933e5dc commit 0879a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Networking/Networking/Remote/WCPayRemote.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class WCPayRemote: Remote {
7272
completion: @escaping (Result<WCPayCharge, Error>) -> Void) {
7373
let path = "\(Path.charges)/\(chargeID)"
7474

75-
let request = JetpackRequest(wooApiVersion: .mark3, method: .post, siteID: siteID, path: path, parameters: [:])
75+
let request = JetpackRequest(wooApiVersion: .mark3, method: .get, siteID: siteID, path: path, parameters: [:])
7676

7777
let mapper = WCPayChargeMapper(siteID: siteID)
7878

0 commit comments

Comments
 (0)