Commit 792681ca authored by Jose Blaya's avatar Jose Blaya
Browse files

Merge branch '134-include-parameter-to-retrieve-the-available-plans' into 'release/2.1.0'

Resolve "Include parameter to retrieve the available plans"

See merge request ios/client-library-apple!190
parents 8cc951f8 9614da7c
......@@ -218,7 +218,11 @@ class PIAWebServices: WebServices, ConfigurationAccess {
400: .badReceipt
req(nil, .get, endpoint, useAuthToken: false, nil, status, JSONRequestExecutor() { (json, status, error) in
let parameters: JSON = [
"type": "subscription"
req(nil, .get, endpoint, useAuthToken: false, parameters, status, JSONRequestExecutor() { (json, status, error) in
if let knownError = self.knownError(endpoint, status, errors) {
callback?(nil, knownError)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment