Skip to content

Commit

Permalink
refactor: fix shorthand_operator warning in AppKeyManager.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajhilje committed Jul 6, 2023
1 parent 3d0ee44 commit b2b6461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IVPNClient/Managers/AppKeyManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class AppKeyManager {
]

var kem = KEM()
params = params + [URLQueryItem(name: "kem_public_key1", value: kem.getPublicKey(algorithm: .Kyber1024))]
params += [URLQueryItem(name: "kem_public_key1", value: kem.getPublicKey(algorithm: .Kyber1024))]
let request = ApiRequestDI(method: .post, endpoint: Config.apiSessionWGKeySet, params: params)

delegate?.setKeyStart()
Expand Down

0 comments on commit b2b6461

Please sign in to comment.