Skip to content

Commit

Permalink
fix last echo version
Browse files Browse the repository at this point in the history
  • Loading branch information
yannis berrouag committed Jan 5, 2017
1 parent aa22dda commit 8b8ba1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func Sessions(name string, store Store) echo.MiddlewareFunc {
return func(ctx echo.Context) error {
rq := ctx.Request()
rs := ctx.Response()
s := &session{name, rq, store, nil, false, rs.Writer()}
s := &session{name, rq, store, nil, false, rs.Writer}
ctx.Set(DefaultKey, s)
return h(ctx)
}
Expand Down

0 comments on commit 8b8ba1c

Please sign in to comment.