Skip to content

Commit

Permalink
Make the error message more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
shintre committed Aug 23, 2024
1 parent 54fd284 commit 42d0163
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 42d0163

Please sign in to comment.