[libgdata/wip/rishi/drive: 2/8] documents: Point the request uri at the Drive v2 API



commit bf05581f7b25bd15665fe4bff03127633aaaa1f6
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Mar 30 20:03:20 2015 +0200

    documents: Point the request uri at the Drive v2 API

 gdata/services/documents/gdata-documents-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdata/services/documents/gdata-documents-service.c 
b/gdata/services/documents/gdata-documents-service.c
index d77d379..aff4659 100644
--- a/gdata/services/documents/gdata-documents-service.c
+++ b/gdata/services/documents/gdata-documents-service.c
@@ -478,7 +478,7 @@ _query_documents_build_request_uri (GDataDocumentsQuery *query)
 {
        /* If we want to query for documents contained in a folder, the URI is different.
         * The "/[folder:id]" suffix is added by the GDataQuery later. */
-       return g_strconcat (_gdata_service_get_scheme (), "://docs.google.com/feeds/default/private/full", 
NULL);
+       return g_strconcat (_gdata_service_get_scheme (), "://www.googleapis.com/drive/v2/files", NULL);
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]