mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 10:27:45 +00:00 
			
		
		
		
	Fix Permissions not granted in reshares do not show correct error
This commit is contained in:
		
							parent
							
								
									c17c60a0a3
								
							
						
					
					
						commit
						91c6183090
					
				| @ -158,14 +158,15 @@ class UpdateRemoteShareOperation | ||||
| 
 | ||||
|             val status = client.executeHttpMethod(putMethod) | ||||
| 
 | ||||
|             if(!isSuccess(status)){ | ||||
|                 return RemoteOperationResult(putMethod) | ||||
|             } | ||||
| 
 | ||||
|             // Parse xml response | ||||
|             val parser = ShareToRemoteOperationResultParser( | ||||
|                 ShareXMLParser() | ||||
|             ) | ||||
| 
 | ||||
|             if (!isSuccess(status)) { | ||||
|                 return parser.parse(putMethod.responseBodyAsString) | ||||
|             } | ||||
| 
 | ||||
|             parser.ownCloudVersion = client.ownCloudVersion | ||||
|             parser.serverBaseUri = client.baseUri | ||||
|             result = parser.parse(putMethod.responseBodyAsString) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user