biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / filesystems / boxfs / work-around-API-borkage.patch
bloba473111e7aa5fb3026e88b2d07d1379ce6299578
1 diff --git a/boxapi.c b/boxapi.c
2 index 4964273..e4b7404 100644
3 --- a/boxapi.c
4 +++ b/boxapi.c
5 @@ -29,6 +29,7 @@
6 #include <curl/curl.h>
8 #include <libxml/hash.h>
9 +#include <libxml/parser.h>
11 #include <libapp/app.h>
12 /* Building blocks for OpenBox api endpoints
13 @@ -38,8 +39,8 @@
14 // AUTH
15 #define API_KEY_VAL "f9ss11y2w0hg5r04jsidxlhk4pil28cf"
16 #define API_SECRET "r3ZHAIhsOL2FoHjgERI9xf74W5skIM0w"
17 -#define API_OAUTH_URL "https://app.box.com/api/oauth2/" //"https://www.box.com/api/oauth2/"
18 -#define API_OAUTH_AUTHORIZE API_OAUTH_URL "authorize?response_type=code&client_id=" API_KEY_VAL /*"&redirect_uri=http%3A//localhost"*/
19 +#define API_OAUTH_URL "https://api.box.com/oauth2/" //"https://www.box.com/api/oauth2/"
20 +#define API_OAUTH_AUTHORIZE "https://app.box.com/api/oauth2/authorize?response_type=code&client_id=" API_KEY_VAL /*"&redirect_uri=http%3A//localhost"*/
21 #define API_OAUTH_TOKEN API_OAUTH_URL "token"
22 // CALLS
23 #define API_ENDPOINT "https://api.box.com/2.0/"