Skip to content

Commit

Permalink
[5.2] MACT-99: Fix reseller data load on selected account (#193)
Browse files Browse the repository at this point in the history
* MACT-99: Fix issue where 'Account Sales Representative' section is not displayed (#189)

* MACT-99: Fix issue where reseller_id not being sent for reseller accounts (#191)

---------

Co-authored-by: Pilar Candia <pilar@2600hz.com>
  • Loading branch information
guillegr123 and pcandia committed Oct 20, 2023
1 parent 0cff5ee commit fc7d5b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ define(function(require) {
], callback);
}, accountId),
mergeResults = function(data) {
return _.chain(data.metadata).pick(['billing_mode', 'enabled', 'superduper_admin', 'wnm_allow_additions', 'created', 'is_reseller']).merge(data.data).value();
return _.chain(data.metadata).pick(['billing_mode', 'enabled', 'superduper_admin', 'wnm_allow_additions', 'created', 'is_reseller', 'reseller_id']).merge(data.data).value();
},
fetchData = function(callback) {
monster.parallel({
Expand Down
5 changes: 4 additions & 1 deletion submodules/wizard/wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -2086,7 +2086,10 @@ define(function(require) {
generateError: generateError
},
success: function(data) {
args.callback(null, data.data);
args.callback(
null,
_.chain(data.metadata).pick(['billing_mode', 'enabled', 'superduper_admin', 'wnm_allow_additions', 'created', 'is_reseller', 'reseller_id']).merge(data.data).value()
);
},
error: function(parsedError) {
args.callback(parsedError);
Expand Down

0 comments on commit fc7d5b2

Please sign in to comment.