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

Commit 8f1196b

Browse files
committed
Use WordPressComRESTAPIInterfacing in TransactionsServiceRemote
1 parent 75451ba commit 8f1196b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/WordPressKit/Services/TransactionsServiceRemote.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import WordPressShared
1616
let endPoint = "me/transactions/supported-countries/"
1717
let servicePath = path(forEndpoint: endPoint, withVersion: ._1_1)
1818

19-
wordPressComRestApi.GET(servicePath,
19+
wordPressComRESTAPI.get(servicePath,
2020
parameters: nil,
2121
success: {
2222
response, _ in
@@ -69,7 +69,7 @@ import WordPressShared
6969
let parameters: [String: AnyObject] = ["temporary": (temporary ? "true" : "false") as AnyObject,
7070
"products": productsDictionary as AnyObject]
7171

72-
wordPressComRestApi.POST(urlPath,
72+
wordPressComRESTAPI.post(urlPath,
7373
parameters: parameters,
7474
success: { (response, _) in
7575

@@ -104,7 +104,7 @@ import WordPressShared
104104
"cart": cart.jsonRepresentation() as AnyObject,
105105
"payment": paymentDict as AnyObject]
106106

107-
wordPressComRestApi.POST(urlPath, parameters: parameters, success: { (_, _) in
107+
wordPressComRESTAPI.post(urlPath, parameters: parameters, success: { (_, _) in
108108
success()
109109
}) { (error, _) in
110110
failure(error)

0 commit comments

Comments
 (0)