Skip to content

Commit d0ec86a

Browse files
author
ebrownstackify
committed
LNX-249 : Use data returned from IdentifyApp
1 parent 38491a4 commit d0ec86a

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

lib/api.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,7 @@ module.exports.methods = {
3030
callback = function (data) {
3131
debug.write('[Log] Successfully identified');
3232

33-
if(!CONFIG.APP_DETAILS.Env){
34-
CONFIG.APP_DETAILS = data.appData;
35-
}
36-
else{
37-
CONFIG.APP_DETAILS.DeviceID = data.appData?.DeviceID;
38-
CONFIG.APP_DETAILS.AppNameID = data.appData?.AppNameID;
39-
}
33+
CONFIG.APP_DETAILS = data.appData;
4034

4135
logger.methods.start();
4236

0 commit comments

Comments
 (0)