Эх сурвалжийг харах

fix code

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 жил өмнө
parent
commit
c1dc44599e

+ 2 - 2
iOSClient/Utility/NCUtility.swift

@@ -559,11 +559,11 @@ class NCUtility: NSObject {
                         hud.progress = exporter.progress
                         hud.progress = exporter.progress
                     }
                     }
                 } else {
                 } else {
-                    callCompletionWithError()
+                    return callCompletionWithError()
                 }
                 }
             }
             }
         } else {
         } else {
-            callCompletionWithError()
+            return callCompletionWithError()
         }
         }
     }
     }