From d45bcfe007b8137b25b838ebda70d70de193db74 Mon Sep 17 00:00:00 2001 From: Ramin Date: Thu, 8 Feb 2024 23:58:13 +0330 Subject: [PATCH] add token items to sendNotificationValidator --- src/validators/schemaValidators.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/validators/schemaValidators.ts b/src/validators/schemaValidators.ts index cc88303..7ab5168 100644 --- a/src/validators/schemaValidators.ts +++ b/src/validators/schemaValidators.ts @@ -61,8 +61,10 @@ export const sendNotificationValidator = Joi.object({ // Donation related attributes projectOwnerId: Joi.string(), amount: Joi.number(), + token: Joi.string().allow(null, ''), transactionId: Joi.string(), transactionNetworkId: Joi.number(), + transactionLink: Joi.string().allow(null, ''), currency: Joi.string(), createdAt: Joi.string(), toWalletAddress: Joi.string(),