Skip to content

Commit 8477e66

Browse files
author
Omri Armstrong
committed
enabling embedtoken:
1 parent b0b3bcf commit 8477e66

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

demo/v2-demo/scripts/codesamples.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function _Embed_BasicEmbed() {
2828
// You can find more information at https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details.
2929
var config= {
3030
type: 'report',
31-
tokenType: models.TokenType.Embed,
31+
tokenType: 1, // models.TokenType.Embed
3232
accessToken: txtAccessToken,
3333
embedUrl: txtEmbedUrl,
3434
id: txtEmbedReportId,

dist/powerbi.js.map

+1-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)