From f946239822722ec59a8267cd44fe1717e163ce6f 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