🔥 Removed unused SessionGet argument
This commit is contained in:
parent
644ca6c78c
commit
869deb6305
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ func SessionWithConfig(config SessionConfig) Interceptor {
|
|||
}
|
||||
|
||||
// SessionGet returns a named session.
|
||||
func SessionGet(ctx *http.RequestCtx, name string) (*session.Store, error) {
|
||||
func SessionGet(ctx *http.RequestCtx) (*session.Store, error) {
|
||||
store, ok := ctx.UserValue(key).(*session.Store)
|
||||
if !ok {
|
||||
return nil, fmt.Errorf("%s session store not found", key)
|
||||
|
|
Loading…
Reference in a new issue