Skip to content

Commit c2d50fb

Browse files
committed
apply endpoint version change
1 parent ff37121 commit c2d50fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Typewriter.Test/TestDataCSharp/com/Microsoft/Graph/Requests/GraphServiceClient.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ public partial class GraphServiceClient : BaseClient, IGraphServiceClient
2424
public GraphServiceClient(
2525
IAuthenticationProvider authenticationProvider,
2626
IHttpProvider httpProvider = null)
27-
: this("https://graph.microsoft.com/v1.0", authenticationProvider, httpProvider)
27+
: this("https://graph.microsoft.com/", authenticationProvider, httpProvider)
2828
{
2929
}
3030

3131
/// <summary>
3232
/// Instantiates a new GraphServiceClient.
3333
/// </summary>
34-
/// <param name="baseUrl">The base service URL. For example, "https://graph.microsoft.com/v1.0".</param>
34+
/// <param name="baseUrl">The base service URL. For example, "https://graph.microsoft.com/".</param>
3535
/// <param name="authenticationProvider">The <see cref="IAuthenticationProvider"/> for authenticating request messages.</param>
3636
/// <param name="httpProvider">The <see cref="IHttpProvider"/> for sending requests.</param>
3737
public GraphServiceClient(
@@ -49,7 +49,7 @@ public GraphServiceClient(
4949
/// to get a pre-configured HttpClient that is optimized for use with the Microsoft Graph service API. </param>
5050
public GraphServiceClient(
5151
HttpClient httpClient)
52-
: base("https://graph.microsoft.com/v1.0", httpClient)
52+
: base("https://graph.microsoft.com/", httpClient)
5353
{
5454
}
5555

0 commit comments

Comments
 (0)