Skip to content

Commit 0e39bac

Browse files
committed
Fix lint
1 parent f645368 commit 0e39bac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/context/default.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ func (ctx *DefaultContext) RenderWithErr(msg string, tpl string, form interface{
7575

7676
// SetSession sets session key value
7777
func (ctx *DefaultContext) SetSession(key string, val interface{}) error {
78-
ctx.Session.Set(key, val)
79-
return nil
78+
return ctx.Session.Set(key, val)
8079
}
8180

8281
// GetSession gets session via key

0 commit comments

Comments
 (0)