diff --git a/app/controllers/api/order_cycles_controller.rb b/app/controllers/api/order_cycles_controller.rb index bc1bba3d5a..c40ec641b2 100644 --- a/app/controllers/api/order_cycles_controller.rb +++ b/app/controllers/api/order_cycles_controller.rb @@ -45,7 +45,7 @@ module Api private def render_no_products - render status: :not_found, json: '' + render status: :not_found, json: {} end def product_properties