mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-10-31 22:40:01 +00:00
fix incorrect debug call
This commit is contained in:
parent
997e6f6c06
commit
f34844850c
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ func (m *Module) WebfingerGETRequest(c *gin.Context) {
|
|||
|
||||
requestedUsername, requestedHost, err := util.ExtractWebfingerParts(resourceQuery)
|
||||
if err != nil {
|
||||
l.Debug("bad webfinger request with resource query %s: %s", resourceQuery, err)
|
||||
l.Debugf("bad webfinger request with resource query %s: %s", resourceQuery, err)
|
||||
c.JSON(http.StatusBadRequest, gin.H{"error": fmt.Sprintf("bad webfinger request with resource query %s", resourceQuery)})
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue