tidy + lint

This commit is contained in:
tsmethurst
2021-06-13 18:41:42 +02:00
parent a25e53af4e
commit f1eb6476f3
6 changed files with 24 additions and 12 deletions

View File

@ -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
}