mirror of
https://git.vectorsigma.ru/public/immich.git
synced 2026-07-28 23:08:14 +00:00
return result
This commit is contained in:
@@ -18,9 +18,9 @@ class NetworkApiImpl: NetworkApi {
|
||||
}
|
||||
|
||||
func selectCertificate(promptText: ClientCertPrompt, completion: @escaping (Result<Void, any Error>) -> Void) {
|
||||
let importer = CertImporter(promptText: promptText, completion: { [weak self] _ in
|
||||
let importer = CertImporter(promptText: promptText, completion: { [weak self] result in
|
||||
self?.activeImporter = nil
|
||||
completion(())
|
||||
completion(result)
|
||||
}, viewController: viewController)
|
||||
activeImporter = importer
|
||||
importer.load()
|
||||
|
||||
Reference in New Issue
Block a user