Include full E2E auth headers

This commit is contained in:
Daniel Schädler 2026-04-14 15:05:09 +02:00
parent 2272f4ab04
commit 9ecaa24afd
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ module TurniereE2E
end end
def store_auth_headers!(response) def store_auth_headers!(response)
%w[access-token client uid].each_with_object({}) do |key, auth_headers| %w[access-token client uid expiry token-type authorization].each_with_object({}) do |key, auth_headers|
auth_headers[key] = response[:headers][key] if response[:headers].key?(key) auth_headers[key] = response[:headers][key] if response[:headers].key?(key)
end.tap do |headers| end.tap do |headers|
@auth_headers = headers unless headers.empty? @auth_headers = headers unless headers.empty?