Skip to content

Commit

Permalink
Fix variablizing endpoints (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberium authored Jun 27, 2024
1 parent f5d58c9 commit 947aef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/send_to_sharepoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def acquire_token():
client_id=client_id,
client_credential=client_secret
)
token = app.acquire_token_for_client(scopes=["https://{graph_endpoint}/.default"])
token = app.acquire_token_for_client(scopes=[f"https://{graph_endpoint}/.default"])
return token

client = GraphClient(acquire_token)
Expand Down

0 comments on commit 947aef2

Please sign in to comment.