From 352ebfc0ddcbed7ac53269252f7f15687ef99761 Mon Sep 17 00:00:00 2001 From: Sunandar Date: Wed, 25 Jan 2017 09:55:30 +0630 Subject: [PATCH] rake file --- app/controllers/api/batch_line_items_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/batch_line_items_controller.rb b/app/controllers/api/batch_line_items_controller.rb index c82695d..e27b96b 100644 --- a/app/controllers/api/batch_line_items_controller.rb +++ b/app/controllers/api/batch_line_items_controller.rb @@ -25,7 +25,7 @@ class Api::BatchLineItemsController < ApplicationController wristband_code=hex_str[0..15] check_manufacture = BatchLineItem.find_by_manufacture_uid_and_wristband_code(manufacture_uid,wristband_code) - if check_manufacture.nil? + if check_manufacture.nil? batchLineItem=BatchLineItem.new batchLineItem.wristband_code=wristband_code