mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 00:46:16 -06:00
tidy + lint
This commit is contained in:
parent
a25e53af4e
commit
f1eb6476f3
6 changed files with 24 additions and 12 deletions
|
|
@ -63,7 +63,7 @@ func (m *Module) WebfingerGETRequest(c *gin.Context) {
|
|||
}
|
||||
|
||||
if domain != m.config.Host {
|
||||
l.Debug("aborting request because domain %s does not belong to this instance", domain)
|
||||
l.Debugf("aborting request because domain %s does not belong to this instance", domain)
|
||||
c.JSON(http.StatusBadRequest, gin.H{"error": fmt.Sprintf("domain %s does not belong to this instance", domain)})
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue