Prebuild release 1.0 #2

Merged
IgorVolochay merged 48 commits from frontend into prebuild 2026-08-13 09:04:08 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 1248a461e7 - Show all commits
+1 -1
View File
@@ -23,7 +23,7 @@ class MongoWorker:
print(self.client.list_database_names())
print(self.db.list_collection_names())
def check_user(self, user_id: int) -> True | False:
def check_user(self, user_id: int) -> bool:
if self.users_data.find_one({"user_id": user_id}):
return True
else:
+3 -3
View File
@@ -10,8 +10,8 @@ class User(BaseModel):
photo_path: str
activity: int = 0
liked_post_ids: list[int] = None
disliked_post_ids: list[int] = None
comments_ids: list[int] = None
liked_post_ids: list[int] = list()
disliked_post_ids: list[int] = list()
comments_ids: list[int] = list()
registration_date: str