diff --git a/app/controllers/foodcourt/customers_controller.rb b/app/controllers/foodcourt/customers_controller.rb index a8fb5979..32c81aaf 100644 --- a/app/controllers/foodcourt/customers_controller.rb +++ b/app/controllers/foodcourt/customers_controller.rb @@ -37,7 +37,7 @@ class Foodcourt::CustomersController < BaseFoodcourtController @crm_customers.save @crm_customers = Customer.search(filter) else - @crm_customers = [{"customer_id": response["status"],"message": response["message"] }] + @crm_customers = [{"customer_id": response["status"],"message": response["message"] }] end end end diff --git a/db/migrate/20231031032506_remove_index_remark_from_sale_audits.rb b/db/migrate/20231031032506_remove_index_remark_from_sale_audits.rb new file mode 100644 index 00000000..1fdb460e --- /dev/null +++ b/db/migrate/20231031032506_remove_index_remark_from_sale_audits.rb @@ -0,0 +1,5 @@ +class RemoveIndexRemarkFromSaleAudits < ActiveRecord::Migration[5.1] + def change + remove_index :sale_audits, name: "remark" + end +end