From 17716be1410f750cfd4e3351a0ea5f28874cdc5e Mon Sep 17 00:00:00 2001 From: YujithIsura Date: Fri, 5 Aug 2022 15:30:36 +0530 Subject: [PATCH] lint --- server/src/routes/schema/nominationSchema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/schema/nominationSchema.js b/server/src/routes/schema/nominationSchema.js index c1e43b0..5574748 100755 --- a/server/src/routes/schema/nominationSchema.js +++ b/server/src/routes/schema/nominationSchema.js @@ -48,7 +48,7 @@ export let services2 = Joi.array().items(UPDATE_SUPPORT_DOC_SCHEMA) export const SAVE_CANDIDATE_SCHEMA = Joi.object().keys({ candidateData: Joi.array().items(Joi.object({ - candidateConfigID: Joi.number().integer().required(), + candidateConfigID: Joi.number().integer().required(), value: Joi.string().max(300).required(true) })).allow(null), nominationId: Joi.string().max(36).regex(/^[A-Za-z0-9-]+$/),