Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Commit 738ca1f

Browse files
committed
Выводятся все данные пользователей
1 parent 043eac5 commit 738ca1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

routes/user_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def update_profile():
196196
def get_users():
197197
try:
198198
users = SQL_request(
199-
"SELECT id, first_name, last_name, email, role, is_approved FROM users",
199+
"SELECT * FROM users",
200200
fetch="all",
201201
)
202202

0 commit comments

Comments
 (0)