瀏覽代碼

fix code

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 年之前
父節點
當前提交
c1dc44599e
共有 1 個文件被更改,包括 2 次插入2 次删除
  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()
         }
     }