From 54f685d762ba91d0c2cd04f7bb238257c8f9171e Mon Sep 17 00:00:00 2001 From: Benjamin Rosenbaum Date: Fri, 11 Aug 2017 16:38:28 +0200 Subject: [PATCH] rewrote error message --- lib/api/v1/mobile/renderer/ridp_renderer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/v1/mobile/renderer/ridp_renderer.rb b/lib/api/v1/mobile/renderer/ridp_renderer.rb index 8c39124ec8c..4a06ff93f01 100644 --- a/lib/api/v1/mobile/renderer/ridp_renderer.rb +++ b/lib/api/v1/mobile/renderer/ridp_renderer.rb @@ -22,7 +22,7 @@ def render_questions session, request, controller def render_answers session, request, controller begin render_response = ->() { - raise "This service requires a session and should be called after #{verify_identity_answers_path}" unless session && session[:pii_data] + raise "This service requires a session and should be called after #{verify_identity_path}" unless session && session[:pii_data] controller.render json: _ridp_verification_instance(session, request).build_answer_response } end