Skip to content

Commit dece402

Browse files
authored
Merge pull request #42 from microsoftgraph/bugfix/default-endpoint
- fixes default endpoint to beta
2 parents 7d2b929 + 548bafb commit dece402

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.azure-pipelines/generate-beta-models.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ steps:
103103
inputs:
104104
targetType: filePath
105105
filePath: '$(Build.SourcesDirectory)/msgraph-metadata/scripts/runTypewriter.ps1'
106-
arguments: '-verbosity Info -language Java -metadata $(cleanMetadata) -output $(outputPath) -generationMode Files'
106+
arguments: '-verbosity Info -language Java -metadata $(cleanMetadata) -output $(outputPath) -generationMode Files -endpointVersion beta'
107107
workingDirectory: '$(Build.SourcesDirectory)' # Set the root for a multi-repo pipeline. /s
108108
enabled: true
109109

src/main/java/com/microsoft/graph/requests/extensions/BaseGraphServiceClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ public class BaseGraphServiceClient extends BaseClient implements IBaseGraphServ
364364
/**
365365
* The default endpoint for the Microsoft Graph Service
366366
*/
367-
public static final String DEFAULT_GRAPH_ENDPOINT = "https://graph.microsoft.com/v1.0";
367+
public static final String DEFAULT_GRAPH_ENDPOINT = "https://graph.microsoft.com/beta";
368368

369369
/**
370370
* The current endpoint

0 commit comments

Comments
 (0)