Browse Source

updates api to v2 [lost change ???]

marinofaggiana 5 years ago
parent
commit
6244fdd36a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      iOSClient/Library/OCCommunicationLib/OCFrameworkConstants.h

+ 2 - 1
iOSClient/Library/OCCommunicationLib/OCFrameworkConstants.h

@@ -41,7 +41,8 @@
 #define k_domain_error_code @"com.owncloud"
 
 //Url to access to Shared API to create
-#define k_url_acces_shared_api @"ocs/v1.php/apps/files_sharing/api/v1/shares"
+//#define k_url_acces_shared_api @"ocs/v1.php/apps/files_sharing/api/v1/shares"
+#define k_url_acces_shared_api @"ocs/v2.php/apps/files_sharing/api/v1/shares"
 
 //Url to access to Remote Shared API
 #define k_url_acces_remote_shared_api @"ocs/v1.php/apps/files_sharing/api/v1/remote_shares"