From f7d09906e953890033b70b6239b916453dbc7846 Mon Sep 17 00:00:00 2001 From: Hentry Martin Date: Mon, 12 May 2025 21:17:40 +0200 Subject: [PATCH 1/2] fix: make notes optional --- .circleci/config.yml | 2 +- src/routes/copilotOpportunityApply/create.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1acd4a4c..dbec1b58 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -149,7 +149,7 @@ workflows: context : org-global filters: branches: - only: ['develop', 'migration-setup'] + only: ['develop', 'migration-setup', 'pm-578_1'] - deployProd: context : org-global filters: diff --git a/src/routes/copilotOpportunityApply/create.js b/src/routes/copilotOpportunityApply/create.js index 0093a217..bdd82fb4 100644 --- a/src/routes/copilotOpportunityApply/create.js +++ b/src/routes/copilotOpportunityApply/create.js @@ -9,7 +9,7 @@ import { COPILOT_OPPORTUNITY_STATUS } from '../../constants'; const applyCopilotRequestValidations = { body: Joi.object().keys({ - notes: Joi.string(), + notes: Joi.string().optional(), }), }; From 4753022f26f7153773ff6906da5fbf5d2b65b1c3 Mon Sep 17 00:00:00 2001 From: Hentry Martin Date: Tue, 13 May 2025 00:41:56 +0200 Subject: [PATCH 2/2] removed circle config --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dbec1b58..1acd4a4c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -149,7 +149,7 @@ workflows: context : org-global filters: branches: - only: ['develop', 'migration-setup', 'pm-578_1'] + only: ['develop', 'migration-setup'] - deployProd: context : org-global filters: