Merge app and frontend #3

Merged
IgorVolochay merged 32 commits from app into frontend 2026-09-01 09:00:36 +00:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit e3b78e0eca - Show all commits
+2 -2
View File
@@ -57,10 +57,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest==8.3.4 pytest-asyncio==0.25.3 httpx==0.28.1
pip install -r app/requirements.txt
- name: Setup moderated base cards
- name: Setup moderated base cards
working-directory: ./app/tools
run: python3 _add_base_cards.py -a 2 -f data/base_cards.json
- name: Run pytest
+1 -1
View File
@@ -240,7 +240,7 @@ class MongoWorker:
comment_id=await self.get_and_update_counter(counter_name="comment"),
author_id=user_id,
card_id=card_id,
commet_text=comment_text,
comment_text=comment_text,
creation_date=datetime.now().isoformat(),
)
await self.comments_data.insert_one(new_comment.model_dump())
+1 -1
View File
@@ -43,6 +43,6 @@ class Comment(BaseModel):
author_id: int
card_id: int
commet_text: str
comment_text: str
creation_date: str