Fixed the documentation of the get_default_journal_list view.

This commit is contained in:
依瑪貓 2023-03-04 20:10:59 +08:00
parent b705795b44
commit b2e500a714

View File

@ -30,9 +30,9 @@ bp: Blueprint = Blueprint("report", __name__)
@bp.get("journal", endpoint="journal-default") @bp.get("journal", endpoint="journal-default")
@has_permission(can_view) @has_permission(can_view)
def get_default_journal_list() -> str | Response: def get_default_journal_list() -> str | Response:
"""Returns the journal. """Returns the journal in the default period.
:return: The journal in the period. :return: The journal in the default period.
""" """
return __get_journal_list(Period.get_instance()) return __get_journal_list(Period.get_instance())