Skip to content

Commit

Permalink
Use cardTitle instead of cardName
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuoch committed Nov 6, 2023
1 parent 221ea39 commit a1da79f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/API.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ export default function API(network, args) {
* Create an admin issued virtual card
*
* @param {Object} parameters
* @param {string} parameters.cardName
* @param {string} parameters.cardTitle
* @param {string} parameters.assigneeEmail
* @param {number} parameters.cardLimit
* @param {string} parameters.cardLimitType
Expand All @@ -838,7 +838,7 @@ export default function API(network, args) {
*/
createAdminIssuedVirtualCard: function (parameters) {
const commandName = 'Card_CreateAdminIssuedVirtualCard';
requireParameters(['cardName', 'assigneeEmail', 'cardLimit', 'cardLimitType'], parameters, commandName);
requireParameters(['cardTitle', 'assigneeEmail', 'cardLimit', 'cardLimitType'], parameters, commandName);
return performPOSTRequest(commandName, parameters);
},

Expand All @@ -848,7 +848,7 @@ export default function API(network, args) {
* @param {Object} parameters
* @param {string} parameters.domainName
* @param {number} parameters.cardID
* @param {string} parameters.cardName
* @param {string} parameters.cardTitle
* @param {string} parameters.assigneeEmail
* @param {number} parameters.cardLimit
* @param {string} parameters.cardLimitType
Expand All @@ -857,7 +857,7 @@ export default function API(network, args) {
*/
editAdminIssuedVirtualCard: function (parameters) {
const commandName = 'Card_EditAdminIssuedVirtualCard';
requireParameters(['domainName', 'cardID', 'cardName', 'assigneeEmail', 'cardLimit', 'cardLimitType'], parameters, commandName);
requireParameters(['domainName', 'cardID', 'cardTitle', 'assigneeEmail', 'cardLimit', 'cardLimitType'], parameters, commandName);
return performPOSTRequest(commandName, parameters);
},
},
Expand Down

0 comments on commit a1da79f

Please sign in to comment.