feat: интерактивный установщик install.sh (Docker / Ubuntu, админ, БД)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
shop
2026-05-17 13:57:54 +03:00
parent dedef454c8
commit db4bc9bfe1
28 changed files with 1069 additions and 22 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ router.use((req, res, next) => {
async function loadAccountUser(userId) {
const { rows } = await query(
'SELECT id, email, name, role, created_at, passkey_enabled FROM users WHERE id = $1',
'SELECT id, email, name, role, created_at, passkey_enabled, loyalty_points FROM users WHERE id = $1',
[userId]
);
return rows[0];