Skip to content

Commit 645f06f

Browse files
committed
add TODO comments
1 parent a1123fa commit 645f06f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/hooks/app/api.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ def self.create(config:, endpoints:, log:)
3838
content_type :txt, "text/plain"
3939
content_type :xml, "application/xml"
4040
content_type :any, "*/*"
41-
format :txt
42-
default_format :txt
41+
42+
format :txt # TODO: make this configurable via config[:format] (defaults to :json in the future)
43+
default_format :txt # TODO: make this configurable via config[:default_format] (defaults to :json in the future)
4344
end
4445

4546
api_class.class_eval do

0 commit comments

Comments
 (0)