mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 10:27:45 +00:00 
			
		
		
		
	Return unit in the remote operation
This commit is contained in:
		
							parent
							
								
									12b009e378
								
							
						
					
					
						commit
						22719c8f40
					
				| @ -58,7 +58,7 @@ class UploadFileFromContentUriOperation( | |||||||
|         return try { |         return try { | ||||||
|             val status = client.executeHttpMethod(putMethod) |             val status = client.executeHttpMethod(putMethod) | ||||||
|             if (isSuccess(status)) { |             if (isSuccess(status)) { | ||||||
|                 RemoteOperationResult<Unit>(RemoteOperationResult.ResultCode.OK) |                 RemoteOperationResult<Unit>(RemoteOperationResult.ResultCode.OK).apply { data = Unit } | ||||||
|             } else { |             } else { | ||||||
|                 RemoteOperationResult<Unit>(putMethod) |                 RemoteOperationResult<Unit>(putMethod) | ||||||
|             } |             } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user