[gnome-online-accounts] foursquare: Use GoaRestProxy



commit c88fe0b99376e71aa42c76b52fe4512b872310a7
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Aug 4 16:22:06 2017 +0200

    foursquare: Use GoaRestProxy

 src/goabackend/goafoursquareprovider.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/goabackend/goafoursquareprovider.c b/src/goabackend/goafoursquareprovider.c
index cf59b1f..4d6f8ea 100644
--- a/src/goabackend/goafoursquareprovider.c
+++ b/src/goabackend/goafoursquareprovider.c
@@ -28,6 +28,7 @@
 #include "goaoauth2provider.h"
 #include "goafoursquareprovider.h"
 #include "goaobjectskeletonutils.h"
+#include "goarestproxy.h"
 
 struct _GoaFoursquareProvider
 {
@@ -135,7 +136,7 @@ get_identity_sync (GoaOAuth2Provider  *oauth2_provider,
 
   /* TODO: cancellable */
 
-  proxy = rest_proxy_new ("https://api.foursquare.com/v2/users/self";, FALSE);
+  proxy = goa_rest_proxy_new ("https://api.foursquare.com/v2/users/self";, FALSE);
   call = rest_proxy_new_call (proxy);
   rest_proxy_call_set_method (call, "GET");
   rest_proxy_call_add_param (call, "oauth_token", access_token);


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