Skip to content

Commit

Permalink
Ruby 3 KwArgs: Credential_level_creator (#11965)
Browse files Browse the repository at this point in the history
  • Loading branch information
oseasmoran73 authored Mar 6, 2023
1 parent 4260c8d commit 210773a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/services/sign_in/credential_level_creator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def check_required_verification_level
end

def raise_unverified_credential_blocked_error(code:)
raise Errors::UnverifiedCredentialBlockedError,
message: 'Unverified credential for authorization requiring verified credential',
code: code
raise Errors::UnverifiedCredentialBlockedError.new(
message: 'Unverified credential for authorization requiring verified credential', code: code
)
end

def create_credential_level
Expand Down

0 comments on commit 210773a

Please sign in to comment.