Skip to content

Commit

Permalink
Remove headers from multi-build api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mbiang committed Sep 9, 2019
1 parent d3b5489 commit c41e326
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/views/api/v1/release_assets/index.json.jbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ json.metadata do
json.annotations @annotations
end

headers = {headers: {'Authorization': 'Bearer $TOKEN', 'X-Forwarded-For': '$CLIENT'}}
json.spec do
json.builds @version.release_assets do |asset|
json.url asset.vanity_url # url for base link to asset on bonsai
json.sha512 asset.source_asset_sha
json.filters asset.filter
json.merge! headers
end
end

0 comments on commit c41e326

Please sign in to comment.