Skip to content

Commit b26fbbf

Browse files
[billing][zuora][fix] Issue with validation of cancel parameters . For the moment, commenting out the validation for cancellationEffectiveDate
1 parent ec48bd5 commit b26fbbf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/validation.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@ module.exports = function (opts) {
213213
notEmpty: [],
214214
isIn: [['EndOfCurrentTerm', 'EndOfLastInvoicePeriod', 'SpecificDate']]
215215
},
216-
cancellationEffectiveDate: function (obj) {
217-
if(obj.cancellationPolicy === 'SpecificDate') {
218-
return validationObjects.contractEffectiveDate;
219-
}
220-
return {};
221-
},
216+
//cancellationEffectiveDate: function (obj) {
217+
// if(obj.cancellationPolicy === 'SpecificDate') {
218+
// return validationObjects.contractEffectiveDate;
219+
// }
220+
// return {};
221+
//},
222222
invoiceCollect: {
223223
notEmpty: [],
224224
isIn: [[true, false]]

0 commit comments

Comments
 (0)