mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
updated extracting deviceid from scope
This commit is contained in:
parent
01967c6a1b
commit
914fecd9b1
@ -467,8 +467,8 @@ public class ExServer {
|
||||
String deviceType = null;
|
||||
String deviceId = null;
|
||||
for (String scope : scopeArray) {
|
||||
if (scope.startsWith("device_")) {
|
||||
String[] scopeParts = scope.split("_");
|
||||
if (scope.startsWith("device:")) {
|
||||
String[] scopeParts = scope.split(":");
|
||||
deviceType = scopeParts[1];
|
||||
deviceId = scopeParts[2];
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user