taler-go

Utility functions in Go language
Log | Files | Refs | LICENSE

commit 34d8be2c8f0d8aa2f31380a6d95bc6cecfddd6ee
parent 82eaa31d0a8e82c0934d8639a6b2e99830b0b293
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Tue, 19 Jul 2022 15:54:45 +0200

fix

Diffstat:
Mpkg/rest/tos.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/rest/tos.go b/pkg/rest/tos.go @@ -12,7 +12,7 @@ import ( "gopkg.in/ini.v1" ) -func ServiceTermsResponse(s ini.Section, w http.ResponseWriter, r *http.Request) { +func ServiceTermsResponse(s *ini.Section, w http.ResponseWriter, r *http.Request) { fileType := s.Key("default_doc_filetype").MustString("text/html") termsLocation := s.Key("default_tos_path").MustString("terms/") for _, typ := range r.Header["Accept"] {