1 Commits
1.2.1 ... main

Author SHA1 Message Date
bb7118242b Fix sessionManager type errors
All checks were successful
Setup testing environment and test the code / build (push) Successful in 26s
Publish to NPM / build-and-publish (release) Successful in 17s
2026-04-18 13:22:33 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@chatenium/chatenium-sdk",
"version": "1.2.1",
"version": "1.2.2",
"description": "A library for interacting with the Chatenium API",
"type": "module",
"main": "dist/index.js",

View File

@@ -112,7 +112,7 @@ export class SessionManager {
}
const updatedUserData = await this.updateUserData(session);
this.database.set("sessions", session.userData.userid, updatedUserData);
this.database.set("sessions", session.userData.userid, JSON.stringify(updatedUserData.userData));
activeSessions.push(updatedUserData);
}