Open caronrob2000 opened 1 year ago
IdentityManager.checkSignInStatus(this.rootLayer.url.split('services')[0] + 'services') .then(function (credential) { if (credential) { objectPoint.strTokenKey = credential.token; objectPoint._processInfo(); } else { objectPoint.strTokenKey = undefined; objectPoint._processInfo(); } }) .catch(function (error) { objectPoint._processInfo(); })
The function "IdentityManager.checkSignInStatus" is using "otherwise" to catch an error.
"otherwise" is not longer supported, so the code must change as the following: