File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export class OAuthStateStore implements NodeSavedStateStore {
3535 }
3636
3737 async del ( ) {
38- let stateKey = getCookie ( this . event , this . cookieKey )
38+ const stateKey = getCookie ( this . event , this . cookieKey )
3939 deleteCookie ( this . event , this . cookieKey )
4040 if ( stateKey ) {
4141 await this . storage . del ( stateKey )
@@ -58,7 +58,7 @@ export class OAuthSessionStore implements NodeSavedSessionStore {
5858 async get ( ) : Promise < NodeSavedSession | undefined > {
5959 const sessionKey = getCookie ( this . event , this . cookieKey )
6060 if ( ! sessionKey ) return
61- let result = await this . storage . getItem < NodeSavedSession > ( sessionKey )
61+ const result = await this . storage . getItem < NodeSavedSession > ( sessionKey )
6262 if ( ! result ) return
6363 return result
6464 }
@@ -73,7 +73,7 @@ export class OAuthSessionStore implements NodeSavedSessionStore {
7373 }
7474
7575 async del ( ) {
76- let sessionKey = getCookie ( this . event , this . cookieKey )
76+ const sessionKey = getCookie ( this . event , this . cookieKey )
7777 if ( sessionKey ) {
7878 await this . storage . del ( sessionKey )
7979 }
You can’t perform that action at this time.
0 commit comments