Skip to content

Commit 65e8cf7

Browse files
committed
Lower accessibility level to internal for GetMethodAndUrl, GetTokenizedUrl, GetRequestsFromBatch
1 parent 02eba7f commit 65e8cf7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DevProxy.Plugins/Utils/GraphUtils.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ internal async Task<IEnumerable<string>> UpdateUserScopesAsync(IEnumerable<strin
102102
return newMinimalScopes;
103103
}
104104

105-
public static MethodAndUrl GetMethodAndUrl(string methodAndUrlString)
105+
internal static MethodAndUrl GetMethodAndUrl(string methodAndUrlString)
106106
{
107107
ArgumentException.ThrowIfNullOrWhiteSpace(methodAndUrlString);
108108

@@ -114,13 +114,13 @@ public static MethodAndUrl GetMethodAndUrl(string methodAndUrlString)
114114
return new(Method: info[0], Url: info[1]);
115115
}
116116

117-
public static string GetTokenizedUrl(string absoluteUrl)
117+
internal static string GetTokenizedUrl(string absoluteUrl)
118118
{
119119
var sanitizedUrl = ProxyUtils.SanitizeUrl(absoluteUrl);
120120
return "/" + string.Concat(new Uri(sanitizedUrl).Segments.Skip(2).Select(Uri.UnescapeDataString));
121121
}
122122

123-
public static MethodAndUrl[] GetRequestsFromBatch(string batchBody, string graphVersion, string graphHostName)
123+
internal static MethodAndUrl[] GetRequestsFromBatch(string batchBody, string graphVersion, string graphHostName)
124124
{
125125
var requests = new List<MethodAndUrl>();
126126

0 commit comments

Comments
 (0)