Update api/onedrive.go
Browse files- api/onedrive.go +1 -1
api/onedrive.go
CHANGED
|
@@ -60,7 +60,7 @@ func onedriveToken(c *gin.Context) {
|
|
| 60 |
"client_secret": clients[1],
|
| 61 |
"code": req.Code,
|
| 62 |
"grant_type": "authorization_code",
|
| 63 |
-
"redirect_uri":
|
| 64 |
}).
|
| 65 |
Post(zone.Oauth + "/common/oauth2/v2.0/token")
|
| 66 |
if err != nil {
|
|
|
|
| 60 |
"client_secret": clients[1],
|
| 61 |
"code": req.Code,
|
| 62 |
"grant_type": "authorization_code",
|
| 63 |
+
"redirect_uri": clients[3],
|
| 64 |
}).
|
| 65 |
Post(zone.Oauth + "/common/oauth2/v2.0/token")
|
| 66 |
if err != nil {
|