time to commit to using the proper accept type

This commit is contained in:
Ted Unangst 2023-08-09 16:16:11 -04:00
parent 829c0af097
commit 448ae46efe
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ func GetJunkTimeout(userid int64, url string, timeout time.Duration) (junk.Junk,
sign = nil sign = nil
} }
fn := func() (interface{}, error) { fn := func() (interface{}, error) {
at := thefakename at := theonetruename
if strings.Contains(url, ".well-known/webfinger?resource") { if strings.Contains(url, ".well-known/webfinger?resource") {
at = "application/jrd+json" at = "application/jrd+json"
} }