Skip to content

Commit

Permalink
fix: do not hardcode tokens; ever
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
palkan committed Apr 11, 2023
1 parent 523b0f3 commit 65982c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby_bytes/publisher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def call(template)
data,
{
"Content-Type" => "application/json",
"Authorization" => "Bearer GGpxArFDSa2x3MT4BQNcyxG6"
"Authorization" => "Bearer #{token}"
}
)
end.then do |response|
Expand Down

0 comments on commit 65982c2

Please sign in to comment.