Skip to content

Commit

Permalink
Merge pull request #601 from Expensify/nat-dom
Browse files Browse the repository at this point in the history
Pass domain when creating admin issued virtual card
  • Loading branch information
nkuoch authored Nov 13, 2023
2 parents c9d70d3 + 1394ce2 commit 04e6315
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/API.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -833,12 +833,13 @@ export default function API(network, args) {
* @param {string} parameters.assigneeEmail
* @param {number} parameters.cardLimit
* @param {string} parameters.cardLimitType
* @param {string} parameters.domainName
*
* @returns {APIDeferred}
*/
createAdminIssuedVirtualCard: function (parameters) {
const commandName = 'Card_CreateAdminIssuedVirtualCard';
requireParameters(['cardTitle', 'assigneeEmail', 'cardLimit', 'cardLimitType'], parameters, commandName);
requireParameters(['cardTitle', 'assigneeEmail', 'cardLimit', 'cardLimitType', 'domainName'], parameters, commandName);
return performPOSTRequest(commandName, parameters);
},

Expand Down

0 comments on commit 04e6315

Please sign in to comment.