mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-05-06 05:15:19 +00:00
COVIDSafe code from version 2.4
This commit is contained in:
parent
377bc0009b
commit
86a09a138c
40 changed files with 1125 additions and 657 deletions
|
@ -28,8 +28,7 @@ class PhoneValidationAPI {
|
|||
CovidNetworking.shared.session.request("\(apiHost)/initiateAuth",
|
||||
method: .post,
|
||||
parameters: params,
|
||||
encoding: JSONEncoding.default,
|
||||
interceptor: CovidRequestRetrier(retries:3)).validate().responseDecodable(of: AuthResponse.self) { (response) in
|
||||
encoding: JSONEncoding.default).validate().responseDecodable(of: AuthResponse.self) { (response) in
|
||||
switch response.result {
|
||||
case .success:
|
||||
guard let authResponse = response.value else { return }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue