diff options
Diffstat (limited to 'rest-extras/flickr-proxy-call.c')
-rw-r--r-- | rest-extras/flickr-proxy-call.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rest-extras/flickr-proxy-call.c b/rest-extras/flickr-proxy-call.c index df8366f..e7dfa07 100644 --- a/rest-extras/flickr-proxy-call.c +++ b/rest-extras/flickr-proxy-call.c @@ -68,10 +68,10 @@ _prepare (RestProxyCall *call, GError **error) priv = FLICKR_PROXY_GET_PRIVATE (proxy); if (GET_PRIVATE (call)->upload) { - rest_proxy_bind (REST_PROXY(proxy), "upload"); + rest_proxy_bind (REST_PROXY(proxy), "up", "upload"); rest_proxy_call_set_function (call, NULL); } else { - rest_proxy_bind (REST_PROXY(proxy), "rest"); + rest_proxy_bind (REST_PROXY(proxy), "api", "rest"); rest_proxy_call_add_param (call, "method", rest_proxy_call_get_function (call)); /* We need to reset the function because Flickr puts the function in the |