lib/yoti/http/profile_request.rb in yoti-1.5.0 vs lib/yoti/http/profile_request.rb in yoti-1.6.0
- old
+ new
@@ -13,9 +13,10 @@
private
def request
yoti_request = Yoti::Request.new
+ yoti_request.add_header('X-Yoti-Auth-Key', Yoti::SSL.auth_key_from_pem)
yoti_request.encrypted_connect_token = @encrypted_connect_token
yoti_request.http_method = 'GET'
yoti_request.endpoint = 'profile'
yoti_request
end