typo fix
This commit is contained in:
parent
f10dee9167
commit
b9664e4e65
|
@ -602,7 +602,7 @@
|
|||
console.warn('[Warn] Please implement OAUTH3._hooks.sessions.get = function (providerUri[, id]) { return PromiseA<session>; }');
|
||||
return JSON.parse(window.sessionStorage.getItem('session-' + providerUri + (id || '')) || 'null');
|
||||
}
|
||||
return OAUTH3._hooks.directives.get(providerUri, id);
|
||||
return OAUTH3._hooks.sessions.get(providerUri, id);
|
||||
}
|
||||
, _set: function (providerUri, newSession, id) {
|
||||
if (!OAUTH3._hooks || !OAUTH3._hooks.sessions || !OAUTH3._hooks.sessions.set) {
|
||||
|
@ -611,7 +611,7 @@
|
|||
window.sessionStorage.setItem('session-' + providerUri + (id || newSession.id || newSession.token.id || ''), JSON.stringify(newSession));
|
||||
return newSession;
|
||||
}
|
||||
return OAUTH3._hooks.directives.set(providerUri, newSession, id);
|
||||
return OAUTH3._hooks.sessions.set(providerUri, newSession, id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue