From 1394ce263d829fd21c2309ad4e904bacc5e7cd9c Mon Sep 17 00:00:00 2001 From: Nathalie Kuoch Date: Fri, 10 Nov 2023 14:42:13 +0100 Subject: [PATCH] Pass domain when creating admin issued virtual card --- lib/API.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/API.jsx b/lib/API.jsx index a4ec8904..99b88cc6 100644 --- a/lib/API.jsx +++ b/lib/API.jsx @@ -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); },