Skip to content

Commit

Permalink
fix typing in redirect_chant_list
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmarchd01 committed Jan 31, 2024
1 parent 45ca71d commit 2cebb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/cantusdb_project/main_app/views/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ def redirect_documents(request) -> HttpResponse:


def redirect_chant_list(request) -> HttpResponse:
source_id: str = request.GET.get("source")
source_id: Optional[str] = request.GET.get("source")
if source_id is None:
# source parameter must be provided
raise BadRequest("Source parameter must be provided")
Expand Down

0 comments on commit 2cebb38

Please sign in to comment.