Marino Faggiana 7 년 전
부모
커밋
f6fd48a7f2
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      iOSClient/Networking/CCNetworking.m

+ 2 - 1
iOSClient/Networking/CCNetworking.m

@@ -482,8 +482,9 @@
             NSArray *object = [[NSArray alloc] initWithObjects:session, fileID, task, nil];
             [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:k_networkingSessionNotification object:object];
         
-            if (fileName.length > 0 && fileID.length > 0 && etag.length > 0 && serverUrl.length > 0)
+            if (fileName.length > 0 && fileID.length > 0 && serverUrl.length > 0)
                 [self uploadFileSuccessFailure:metadata fileName:fileName fileID:fileID etag:etag date:date serverUrl:serverUrl errorCode:errorCode];
+            
         } else {
             
             if (errorCode != kCFURLErrorCancelled) {