Skip to content

Commit 16c89a6

Browse files
Switches to production minimal Graph permissions API. Closes #264 (#777)
1 parent 1334c0c commit 16c89a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev-proxy-plugins/RequestLogs/MinimalPermissionsGuidancePlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ private async Task EvaluateMinimalScopes(IEnumerable<(string method, string url)
275275

276276
try
277277
{
278-
var url = $"https://graphexplorerapi-staging.azurewebsites.net/permissions?scopeType={GetScopeTypeString(scopeType)}";
278+
var url = $"https://graphexplorerapi.azurewebsites.net/permissions?scopeType={GetScopeTypeString(scopeType)}";
279279
using var client = new HttpClient();
280280
var stringPayload = JsonSerializer.Serialize(payload, ProxyUtils.JsonSerializerOptions);
281281
Logger.LogDebug(string.Format("Calling {0} with payload{1}{2}", url, Environment.NewLine, stringPayload));

dev-proxy-plugins/RequestLogs/MinimalPermissionsPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private string GetScopeTypeString()
152152

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

0 commit comments

Comments
 (0)