mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
b2d300e59b
See <https://github.com/drotiro/boxfs2/issues/11>. This should soon be fixed upstream. Until then, any bugs are mine.
16 lines
819 B
Diff
16 lines
819 B
Diff
diff --git a/boxapi.c b/boxapi.c
|
|
index 4964273..1a32e0d 100644
|
|
--- a/boxapi.c
|
|
+++ b/boxapi.c
|
|
@@ -38,8 +38,8 @@
|
|
// AUTH
|
|
#define API_KEY_VAL "f9ss11y2w0hg5r04jsidxlhk4pil28cf"
|
|
#define API_SECRET "r3ZHAIhsOL2FoHjgERI9xf74W5skIM0w"
|
|
-#define API_OAUTH_URL "https://app.box.com/api/oauth2/" //"https://www.box.com/api/oauth2/"
|
|
-#define API_OAUTH_AUTHORIZE API_OAUTH_URL "authorize?response_type=code&client_id=" API_KEY_VAL /*"&redirect_uri=http%3A//localhost"*/
|
|
+#define API_OAUTH_URL "https://api.box.com/oauth2/" //"https://www.box.com/api/oauth2/"
|
|
+#define API_OAUTH_AUTHORIZE "https://app.box.com/api/oauth2/authorize?response_type=code&client_id=" API_KEY_VAL /*"&redirect_uri=http%3A//localhost"*/
|
|
#define API_OAUTH_TOKEN API_OAUTH_URL "token"
|
|
// CALLS
|
|
#define API_ENDPOINT "https://api.box.com/2.0/"
|