Skip to content

Commit

Permalink
Switches to production minimal Graph permissions API. Closes #264 (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
waldekmastykarz authored Jun 12, 2024
1 parent 1334c0c commit 16c89a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ private async Task EvaluateMinimalScopes(IEnumerable<(string method, string url)

try
{
var url = $"https://graphexplorerapi-staging.azurewebsites.net/permissions?scopeType={GetScopeTypeString(scopeType)}";
var url = $"https://graphexplorerapi.azurewebsites.net/permissions?scopeType={GetScopeTypeString(scopeType)}";
using var client = new HttpClient();
var stringPayload = JsonSerializer.Serialize(payload, ProxyUtils.JsonSerializerOptions);
Logger.LogDebug(string.Format("Calling {0} with payload{1}{2}", url, Environment.NewLine, stringPayload));
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy-plugins/RequestLogs/MinimalPermissionsPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private string GetScopeTypeString()

try
{
var url = $"https://graphexplorerapi-staging.azurewebsites.net/permissions?scopeType={GetScopeTypeString()}";
var url = $"https://graphexplorerapi.azurewebsites.net/permissions?scopeType={GetScopeTypeString()}";
using var client = new HttpClient();
var stringPayload = JsonSerializer.Serialize(payload, ProxyUtils.JsonSerializerOptions);
Logger.LogDebug("Calling {url} with payload\r\n{stringPayload}", url, stringPayload);
Expand Down

0 comments on commit 16c89a6

Please sign in to comment.