From a0d72cc7a816680a72f6c8e9412307d9fd6f0f53 Mon Sep 17 00:00:00 2001 From: John Voon Date: Thu, 18 Jul 2019 15:11:19 +1000 Subject: [PATCH] CH6320: Fix 400 error on carrier request --- .../disco_app/concerns/carrier_request_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/disco_app/concerns/carrier_request_controller.rb b/app/controllers/disco_app/concerns/carrier_request_controller.rb index af0464bc..9253f0b4 100644 --- a/app/controllers/disco_app/concerns/carrier_request_controller.rb +++ b/app/controllers/disco_app/concerns/carrier_request_controller.rb @@ -39,6 +39,8 @@ def request_is_valid? return false if params[:rate][:origin].blank? return false if params[:rate][:destination].blank? return false if params[:rate][:items].blank? + + true end end