fix <client>.sessions.fetch()
``` { method: 'get', path: '/auth/session', code: 0, httpStatus: 404, captcha: null, requestData: { json: undefined, files: [] } } ```
This commit is contained in:
parent
a1acbf2721
commit
f5745acd24
@ -17,7 +17,7 @@ class SessionManager extends CachedManager {
|
|||||||
*/
|
*/
|
||||||
fetch() {
|
fetch() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.client.api.auth.session
|
this.client.api.auth.sessions
|
||||||
.get()
|
.get()
|
||||||
.then(data => {
|
.then(data => {
|
||||||
const allData = data.user_sessions;
|
const allData = data.user_sessions;
|
||||||
|
Loading…
Reference in New Issue
Block a user