mirror of
https://github.com/usetrmnl/trmnl-api.git
synced 2026-04-29 13:35:13 -07:00
Fixed HTTP container registration
Use of the root scope is not necessary and can be safely removed. Milestone: patch
This commit is contained in:
@@ -14,7 +14,7 @@ module TRMNL
|
||||
register(:logger) { Cogger.new id: "trmnl-api", formatter: :json }
|
||||
|
||||
register :http do
|
||||
HTTP.default_options = ::HTTP::Options.new features: {logging: {logger: self[:logger]}}
|
||||
HTTP.default_options = HTTP::Options.new features: {logging: {logger: self[:logger]}}
|
||||
HTTP
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user