From 0400c885ad1098c04034f76835d36949c9416c23 Mon Sep 17 00:00:00 2001 From: Nicholas Pedroso Date: Thu, 7 Jan 2021 09:16:44 -0300 Subject: [PATCH] Add additional Properties to Payment Model --- lib/models/paymentModel.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/models/paymentModel.js b/lib/models/paymentModel.js index 239dd1c9..dc179946 100644 --- a/lib/models/paymentModel.js +++ b/lib/models/paymentModel.js @@ -1,6 +1,6 @@ /* istanbul ignore next */ module.exports = { - additionalProperties: false, // Fails if an extra param is added to the model + additionalProperties: true, // Fails if an extra param is added to the model properties: { payer: { type: 'object', @@ -191,13 +191,13 @@ module.exports = { } } }, - - + + shipments: { type: 'object', properties: { - - + + receiver_address: { type: 'object', properties: {