Skip to content

Commit

Permalink
Comment deprication
Browse files Browse the repository at this point in the history
  • Loading branch information
dyakovri committed Apr 6, 2024
1 parent 56d237b commit 2af0ad5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion calendar_backend/routes/lecturer/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


settings = get_settings()
router = APIRouter(prefix="/lecturer/{lecturer_id}", tags=["Lecturer: Comment"])
router = APIRouter(prefix="/lecturer/{lecturer_id}", tags=["Lecturer: Comment"], deprecated=True)


@router.post("/comment/", response_model=CommentLecturer)
Expand Down
2 changes: 1 addition & 1 deletion calendar_backend/routes/lecturer/comment_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from calendar_backend.routes.models import CommentLecturer


router = APIRouter(prefix="/lecturer/{lecturer_id}/comment", tags=["Lecturer: Comment Review"])
router = APIRouter(prefix="/lecturer/{lecturer_id}/comment", tags=["Lecturer: Comment Review"], deprecated=True)


@router.get("/review/", response_model=list[CommentLecturer])
Expand Down

0 comments on commit 2af0ad5

Please sign in to comment.