Skip to content

Commit

Permalink
Merge pull request #17 from TourConnect/fix/update_norates_message
Browse files Browse the repository at this point in the history
Make the error message more descriptive
  • Loading branch information
shintre authored Aug 23, 2024
2 parents 54fd284 + 42d0163 commit 909a8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ class Plugin {
});
return {
message: R.path(['AddServiceReply', 'Status'], replyObj)
=== 'NO' ? 'Service cannot be added to quote (could be due to no rates)' : '',
=== 'NO' ? 'Service cannot be added to quote for the requested date/stay. (e.g. no rates, block out period, on request, minimum stay etc.)' : '',
quote: {
id: R.path(['AddServiceReply', 'BookingId'], replyObj),
reference: R.path(['AddServiceReply', 'Ref'], replyObj),
Expand Down

0 comments on commit 909a8da

Please sign in to comment.