i swear i already ran go fmt but apparently not

This commit is contained in:
tobi 2025-09-16 16:23:37 +02:00
parent 155ebda499
commit 1d23b2baff

View file

@ -38,7 +38,7 @@ func UserAgentOrTeapot() gin.HandlerFunc {
// so they're not instantiated every
// time a request is processed.
var (
rsp = []byte(`{"error": "I'm a teapot: no user-agent sent with request"}`)
rsp = []byte(`{"error": "I'm a teapot: no user-agent sent with request"}`)
allowEmpty = config.GetInstanceAllowEmptyUserAgents()
)