Skip to content

Commit

Permalink
rewrote error message
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminrosenbaum committed Aug 11, 2017
1 parent ec78e5c commit 54f685d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/v1/mobile/renderer/ridp_renderer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54f685d

Please sign in to comment.