Browse Source

fix code

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 years ago
parent
commit
c1dc44599e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/Utility/NCUtility.swift

+ 2 - 2
iOSClient/Utility/NCUtility.swift

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