Skip to content

Commit 332fad4

Browse files
committed
Updated samples
1 parent 9ad99bf commit 332fad4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/node/node-sample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// when using the npm module, use the following syntax
2-
// var MicrosoftGraph = require("msgraph-sdk-javascript").Client;
2+
// var MicrosoftGraph = require("@microsoft/microsoft-graph-client").Client;
33

44
// for fast development, simply require the generated lib without bundling the npm module
55

samples/typescript/sample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const secrets = require("../node/secrets");
44

5-
// production apps should import from "msgraph-sdk-javascript"; to grab the NPM module with the types declarations
5+
// production apps should import from "@microsoft/microsoft-graph-client"; to grab the NPM module with the types declarations
66

77
import {Client as GraphClient} from "../../lib/src/index";
88

0 commit comments

Comments
 (0)