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