Skip to content

Commit

Permalink
fix(onedrive_app): incorrect api on _accessToken (#5346)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmingup committed Oct 8, 2023
1 parent 1a283bb commit 35d6722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/onedrive_app/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ func (d *OnedriveAPP) _accessToken() error {
"grant_type": "client_credentials",
"client_id": d.ClientID,
"client_secret": d.ClientSecret,
"resource": "https://graph.microsoft.com/",
"scope": "https://graph.microsoft.com/.default",
"resource": onedriveHostMap[d.Region].Api + "/",
"scope": onedriveHostMap[d.Region].Api + "/.default",
}).Post(url)
if err != nil {
return err
Expand Down

0 comments on commit 35d6722

Please sign in to comment.