mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Removed error log
This commit is contained in:
parent
177f77bde4
commit
85a382e16a
@ -31,7 +31,6 @@ function onRequest(context) {
|
|||||||
if (encodedClientKeys) {
|
if (encodedClientKeys) {
|
||||||
var tokenUtil = require("/app/modules/oauth/token-handler-utils.js")["utils"];
|
var tokenUtil = require("/app/modules/oauth/token-handler-utils.js")["utils"];
|
||||||
var resp = tokenUtil.decode(encodedClientKeys).split(":");
|
var resp = tokenUtil.decode(encodedClientKeys).split(":");
|
||||||
log.error(resp);
|
|
||||||
var deviceParam = "{\"scope\":\"stats\",\"deviceIdentifiers\":[{\"id\":\"" + device.deviceIdentifier
|
var deviceParam = "{\"scope\":\"stats\",\"deviceIdentifiers\":[{\"id\":\"" + device.deviceIdentifier
|
||||||
+ " \", \"type\":\"" + device.type + "\"}]}";
|
+ " \", \"type\":\"" + device.type + "\"}]}";
|
||||||
var encodedScope = tokenUtil.encode(deviceParam);
|
var encodedScope = tokenUtil.encode(deviceParam);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user