From d779dfb0a88d2a46b4809b29e44abddf79d00ad6 Mon Sep 17 00:00:00 2001 From: ali ebrahimi Date: Wed, 24 Jul 2024 03:30:32 +0330 Subject: [PATCH] add email to payload for notify reward --- src/utils/validators/segmentAndMetadataValidators.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/validators/segmentAndMetadataValidators.ts b/src/utils/validators/segmentAndMetadataValidators.ts index 6c85c55..915d5bf 100644 --- a/src/utils/validators/segmentAndMetadataValidators.ts +++ b/src/utils/validators/segmentAndMetadataValidators.ts @@ -172,6 +172,7 @@ const notifyRewardAmountSegmentSchema = Joi.object({ network: Joi.string().required(), script: Joi.string().required(), transactionHash: Joi.string().required(), + email: Joi.string().required(), }); export const SEGMENT_METADATA_SCHEMA_VALIDATOR: {