fixed non existing users column

This commit is contained in:
2025-08-04 10:22:44 +03:00
parent f9cfa1648e
commit d5ed160746
2 changed files with 2 additions and 3 deletions

View File

@ -176,8 +176,7 @@ def get_user(
cur.execute(
"""
select username, password, role,
disabled, groups_ids,
last_seen_at, created_at
disabled, last_seen_at, created_at
from picrinth.users
where username = %s
""",

View File

@ -1,4 +1,4 @@
from consts import SUPPORTED_PLATFORMS
from .consts import SUPPORTED_PLATFORMS
from decouple import config