Skip to content

Commit

Permalink
Merge pull request #27 from dchealthlink/verify-identity-error-fix
Browse files Browse the repository at this point in the history
Verify identity error fix
  • Loading branch information
benjaminrosenbaum authored Aug 11, 2017
2 parents fa326dc + 166cb20 commit 4be1a31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/api/v1/mobile/renderer/ridp_renderer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ 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]
controller.render json: _ridp_verification_instance(session, request).build_answer_response
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, status: 406
}
end

Expand Down

0 comments on commit 4be1a31

Please sign in to comment.