@@ -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 ,
3232 accessToken : txtAccessToken ,
3333 embedUrl : txtEmbedUrl ,
3434 id : txtEmbedReportId ,
@@ -87,7 +87,7 @@ function _Embed_DashboardEmbed() {
8787 // You can find more information at https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details.
8888 var config = {
8989 type : 'dashboard' ,
90- tokenType : models . TokenType . Embed ,
90+ tokenType : 1 ,
9191 accessToken : txtAccessToken ,
9292 embedUrl : txtEmbedUrl ,
9393 id : txtEmbedDashboardId
@@ -140,7 +140,7 @@ function _Mock_Embed_BasicEmbed(isEdit) {
140140 // You can find more information at https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details.
141141 var config = {
142142 type : 'report' ,
143- tokenType : models . TokenType . Embed ,
143+ tokenType : 1 ,
144144 accessToken : txtAccessToken ,
145145 embedUrl : txtEmbedUrl ,
146146 id : txtEmbedReportId ,
@@ -213,7 +213,7 @@ function _Embed_BasicEmbed_EditMode() {
213213 // You can find more information at https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details.
214214 var config = {
215215 type : 'report' ,
216- tokenType : models . TokenType . Embed ,
216+ tokenType : 1 ,
217217 accessToken : txtAccessToken ,
218218 embedUrl : txtEmbedUrl ,
219219 id : txtEmbedReportId ,
@@ -273,7 +273,7 @@ function _Embed_EmbedWithDefaultFilter() {
273273
274274 var embedConfiguration = {
275275 type : 'report' ,
276- tokenType : models . TokenType . Embed ,
276+ tokenType : 1 ,
277277 accessToken : txtAccessToken ,
278278 embedUrl : txtEmbedUrl ,
279279 id : txtEmbedReportId ,
@@ -304,7 +304,7 @@ function _Embed_Create() {
304304 // Embed create configuration used to describe the what and how to create report.
305305 // This object is used when calling powerbi.createReport.
306306 var embedCreateConfiguration = {
307- tokenType : models . TokenType . Embed ,
307+ tokenType : 1 ,
308308 accessToken : txtAccessToken ,
309309 embedUrl : txtEmbedUrl ,
310310 datasetId : txtEmbedDatasetId ,
@@ -353,7 +353,7 @@ function _Mock_Embed_Create() {
353353 // Embed create configuration used to describe the what and how to create report.
354354 // This object is used when calling powerbi.createReport.
355355 var embedCreateConfiguration = {
356- tokenType : models . TokenType . Embed ,
356+ tokenType : 1 ,
357357 accessToken : txtAccessToken ,
358358 embedUrl : txtEmbedUrl ,
359359 datasetId : txtEmbedDatasetId ,
0 commit comments