mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 15:46:15 -06:00
remove unneeded nested sprintf within debugf
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
This commit is contained in:
parent
1a828727c2
commit
0bc538b737
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ func (m *Module) AuthorizeGETHandler(c *gin.Context) {
|
|||
l.Debugf("parsed auth form: %+v", form)
|
||||
|
||||
if err := extractAuthForm(s, form); err != nil {
|
||||
l.Debugf(fmt.Sprintf("error parsing form at /oauth/authorize: %s", err))
|
||||
l.Debugf("error parsing form at /oauth/authorize: %s", err)
|
||||
m.clearSession(s)
|
||||
c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()})
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue