From 3d1d3bf8608cab3cb2cdf8cd60ac5f1fac2eb4a9 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Wed, 13 May 2015 10:16:02 +0300 Subject: [PATCH] added new success code 1001 --- app/controllers/registrar/depp_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/registrar/depp_controller.rb b/app/controllers/registrar/depp_controller.rb index d7ef823ec..753a8a6e0 100644 --- a/app/controllers/registrar/depp_controller.rb +++ b/app/controllers/registrar/depp_controller.rb @@ -24,7 +24,7 @@ class Registrar::DeppController < RegistrarController # EPP controller def response_ok? @data.css('result').each do |x| - success_codes = %(1000, 1300, 1301) + success_codes = %(1000, 1001, 1300, 1301) return false unless success_codes.include?(x['code']) end true