From f5745acd24f058fb0da497e89431e4cd19640304 Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sun, 2 Oct 2022 21:50:23 +0700 Subject: [PATCH] fix `.sessions.fetch()` ``` { method: 'get', path: '/auth/session', code: 0, httpStatus: 404, captcha: null, requestData: { json: undefined, files: [] } } ``` --- src/managers/SessionManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/SessionManager.js b/src/managers/SessionManager.js index ee95717..ae0fc8c 100644 --- a/src/managers/SessionManager.js +++ b/src/managers/SessionManager.js @@ -17,7 +17,7 @@ class SessionManager extends CachedManager { */ fetch() { return new Promise((resolve, reject) => { - this.client.api.auth.session + this.client.api.auth.sessions .get() .then(data => { const allData = data.user_sessions;