This repository was archived by the owner on Sep 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/WordPressKit/Services Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public final class AtomicSiteServiceRemote: ServiceRemoteWordPressComREST {
2323 if let scrollID {
2424 parameters [ " scroll_id " ] = scrollID
2525 }
26- wordPressComRestApi . GET ( path, parameters: parameters as [ String : AnyObject ] ) { responseObject, httpResponse in
26+ wordPressComRESTAPI . get ( path, parameters: parameters as [ String : AnyObject ] ) { responseObject, httpResponse in
2727 guard ( 200 ..< 300 ) . contains ( httpResponse? . statusCode ?? 0 ) ,
2828 let data = ( responseObject as? [ String : AnyObject ] ) ? [ " data " ] ,
2929 JSONSerialization . isValidJSONObject ( data) else {
@@ -67,7 +67,7 @@ public final class AtomicSiteServiceRemote: ServiceRemoteWordPressComREST {
6767 if let scrollID {
6868 parameters [ " scroll_id " ] = scrollID
6969 }
70- wordPressComRestApi . GET ( path, parameters: parameters as [ String : AnyObject ] ) { responseObject, httpResponse in
70+ wordPressComRESTAPI . get ( path, parameters: parameters as [ String : AnyObject ] ) { responseObject, httpResponse in
7171 guard ( 200 ..< 300 ) . contains ( httpResponse? . statusCode ?? 0 ) ,
7272 let data = ( responseObject as? [ String : AnyObject ] ) ? [ " data " ] ,
7373 JSONSerialization . isValidJSONObject ( data) else {
You can’t perform that action at this time.
0 commit comments