Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export function createSession(opts: CreateSessionOptions | any, app: any): Middl
extendContext(app.context, options);

return async function session(ctx: any, next: any) {
const sess = ctx[GET_CONTEXT_SESSION];
const sess: ContextSession = ctx[GET_CONTEXT_SESSION];
if (sess.store) {
await sess.initFromExternal();
}
Expand Down
Loading