Skip to content

Commit 4156980

Browse files
committed
Appease linter
1 parent b4ecccf commit 4156980

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/context/context.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
package context
77

88
import (
9-
"fmt"
109
"html"
1110
"html/template"
1211
"io"
@@ -95,7 +94,7 @@ func RedirectToUser(ctx *Context, userName string, redirectUserID int64) {
9594

9695
redirectPath := strings.Replace(
9796
ctx.Req.URL.Path,
98-
fmt.Sprintf("%s", userName),
97+
userName,
9998
user.Name,
10099
1,
101100
)

0 commit comments

Comments
 (0)