fix sessions manager

This commit is contained in:
March 7th
2022-10-03 18:09:10 +07:00
parent f5745acd24
commit 5e715fad5e
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class SessionManager extends CachedManager {
.then(data => {
const allData = data.user_sessions;
for (const session of allData) {
this._add(new Session(this.client, session), true);
this._add(new Session(this.client, session), true, { id: session.id_hash });
}
resolve(this);
})