feat: make password optional for session restoration

This commit is contained in:
2025-10-15 15:34:16 -05:00
parent 7d8a85f01e
commit ed9002f436
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ export class TrytonClient {
this.database = database;
this.username = username;
this.password = password;
this.password = password || ""; // Empty string if not provided
this.port = port;
this.language = language;
this.options = options;