module -> class

This commit is contained in:
Alex Holliday committed 2025-07-31 11:57:55 -07:00
1 parent 7d5302cfcf
commit 7a190f7c69
5 files changed
+37 -38

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ class UserService {
} else {
// This is the first account, create JWT secret to use if one is not supplied by env
const jwtSecret = this.crypto.randomBytes(64).toString("hex");
await this.db.updateAppSettings({ jwtSecret });
await this.db.settingsModule.updateAppSettings({ jwtSecret });
}
const newUser = await this.db.userModule.insertUser({ ...user }, file);