From 357fe9a9e13983f959c31ac3c01b66530ff3a862 Mon Sep 17 00:00:00 2001 From: "Michael.Taylor" Date: Tue, 11 Jan 2022 10:06:09 -0500 Subject: [PATCH] fix: allow tags to be empty strings --- src/routes/v1/resources/units.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/v1/resources/units.js b/src/routes/v1/resources/units.js index bb389047..2fb682c1 100644 --- a/src/routes/v1/resources/units.js +++ b/src/routes/v1/resources/units.js @@ -30,7 +30,7 @@ const baseSchema = { countryJuridictionOfOwner: Joi.string().required(), inCountryJuridictionOfOwner: Joi.string().required(), intendedBuyerOrgUid: Joi.string().optional(), - tags: Joi.string().optional(), + tags: Joi.string().allow('').optional(), tokenIssuanceHash: Joi.string().required(), marketplaceIdentifier: Joi.string().optional(), };