Skip to content

Commit

Permalink
remake comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeryEstal committed Dec 6, 2024
1 parent 73cf4c6 commit 288d12b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rating_api/routes/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ async def create_comment(lecturer_id: int, comment_info: CommentPost, user=Depen
Для возможности создания комментария с указанием времени создания и изменения необходим скоуп ["rating.comment.import"]
"""

import datetime


lecturer = Lecturer.get(session=db.session, id=lecturer_id)
if not lecturer:
Expand Down

0 comments on commit 288d12b

Please sign in to comment.