lib/imperituroard.rb in imperituroard-0.2.7 vs lib/imperituroard.rb in imperituroard-0.2.8
- old
+ new
@@ -234,10 +234,10 @@
if prof_name1[:code]==200
begin
permiss1 = mongo_client.check_login_profile_permiss(login, prof_name1[:body]["profile"])
p "permiss1"
p permiss1
- if permiss1==200
+ if permiss1[:code]==200
ime_list_approved.append(t)
else
ime_list_notapproved.append({:imei => t, :error => permiss1})
end
rescue