Merge pull request #153 from specklesystems/dogukan/cnx-1551-reaching-end-of-the-buffer-in-power-bi
fix(data connector): reaching the end of the buffer
This commit is contained in:
@@ -26,7 +26,7 @@ in
|
||||
parsedUrl = Parser(url),
|
||||
server = parsedUrl[baseUrl],
|
||||
|
||||
apiKey = try Extension.CurrentCredential()[Key] otherwise "",
|
||||
apiKey = try Extension.CurrentCredential()[Key] otherwise try Extension.CurrentCredential()[access_token] otherwise "",
|
||||
|
||||
query = "query {
|
||||
activeUser {
|
||||
@@ -62,5 +62,5 @@ in
|
||||
ServerName = JsonResponse[data][serverInfo][name],
|
||||
ServerCompany = JsonResponse[data][serverInfo][company],
|
||||
ServerVersion = JsonResponse[data][serverInfo][version],
|
||||
Token = if apiKey = "" then null else apiKey[access_token]
|
||||
Token = if apiKey = "" then null else apiKey
|
||||
]
|
||||
Reference in New Issue
Block a user