add endpoint for get user info by token (/me)

This commit is contained in:
Timur
2025-03-01 12:09:21 +03:00
parent f0089f5acd
commit 61b6a29417
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -22,4 +22,4 @@ class LoginSchema(ModelSchema):
class UserSchema(ModelSchema):
class Meta:
model = User
fields = ["email", "username"]
fields = ["id", "email", "username"]