mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 18:35:12 +00:00
verified
This commit is contained in:
parent
b3250abcc7
commit
8b94f3fe61
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class QuotaService
|
|||
|
||||
hca = HCAService.new(@user.hca_access_token)
|
||||
response = hca.check_verification(idv_id: @user.hca_id)
|
||||
response[:verified] == true
|
||||
response[:result] == "verified_eligible"
|
||||
rescue Faraday::Error, ArgumentError => e
|
||||
Rails.logger.warn "HCA API error for user #{@user.id}: #{e.message}"
|
||||
false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue