Skip to content

Commit

Permalink
spread keys to root obj
Browse files Browse the repository at this point in the history
  • Loading branch information
standielpls committed Feb 14, 2025
1 parent 7c14dfb commit 5411728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/oclif/commands/invoke.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ const getAuthLabel = async (labelTemplate, authData, meta, zcacheTestObj) => {
const testResult = await testAuth(authData, meta, zcacheTestObj);
labelTemplate = labelTemplate.replace('__', '.');
const tpl = _.template(labelTemplate, { interpolate: /{{([\s\S]+?)}}/g });
return tpl({ bundle: { authData, inputData: testResult } });
return tpl({ ...testResult, bundle: { authData, inputData: testResult } });
};

const getLabelForDynamicDropdown = (obj, preferredKey, fallbackKey) => {
Expand Down

0 comments on commit 5411728

Please sign in to comment.