Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
liberty
tunnel
liberty-tunnel-client-library-apple
Commits
9614da7c
Commit
9614da7c
authored
Jul 18, 2019
by
Jose Blaya
Browse files
Send type subscription as parameter
parent
8cc951f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
PIALibrary/Sources/Library/WebServices/PIAWebServices.swift
View file @
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
)
return
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment