From 460adc52b6274adb2017f522b84121de569248c5 Mon Sep 17 00:00:00 2001 From: Pilar Candia Date: Mon, 21 Oct 2024 15:54:09 -0400 Subject: [PATCH] MSTR-325: Fix issue where masquerading throws an error --- src/apps/core/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/core/app.js b/src/apps/core/app.js index 1cf6eb97b..596e9e946 100644 --- a/src/apps/core/app.js +++ b/src/apps/core/app.js @@ -436,7 +436,7 @@ define(function(require) { }, success: function(data, status) { self.triggerMasquerading({ - account: data, + account: data.data, callback: function() { var currentApp = monster.apps.getActiveApp(); if (currentApp in monster.apps) { @@ -480,7 +480,7 @@ define(function(require) { triggerMasquerading: function(args) { var self = this, - account = args.account.data, + account = args.account, callback = args.callback, afterGetData = function(account) { monster.apps.auth.currentAccount = $.extend(true, {}, account);