[gnome-online-accounts] todoist: Use GoaRestProxy
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] todoist: Use GoaRestProxy
- Date: Fri, 4 Aug 2017 15:05:38 +0000 (UTC)
commit 02fb43469ae675b6dee74d15e52ca006f030bcb0
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Aug 4 16:26:19 2017 +0200
todoist: Use GoaRestProxy
src/goabackend/goatodoistprovider.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/goabackend/goatodoistprovider.c b/src/goabackend/goatodoistprovider.c
index 0fff0b7..f0d3e43 100644
--- a/src/goabackend/goatodoistprovider.c
+++ b/src/goabackend/goatodoistprovider.c
@@ -28,6 +28,7 @@
#include "goaoauth2provider-priv.h"
#include "goatodoistprovider.h"
#include "goaobjectskeletonutils.h"
+#include "goarestproxy.h"
struct _GoaTodoistProvider
@@ -175,7 +176,7 @@ get_identity_sync (GoaOAuth2Provider *oauth2_provider,
gchar *email = NULL;
gchar *ret = NULL;
- proxy = rest_proxy_new ("https://todoist.com/API/v7/sync", FALSE);
+ proxy = goa_rest_proxy_new ("https://todoist.com/API/v7/sync", FALSE);
call = rest_proxy_new_call (proxy);
rest_proxy_call_set_method (call, "GET");
rest_proxy_call_add_param (call, "token", access_token);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]