diff --git a/src/grimoire/routes/tasks.py b/src/grimoire/routes/tasks.py index 50f05396..df33b268 100644 --- a/src/grimoire/routes/tasks.py +++ b/src/grimoire/routes/tasks.py @@ -156,7 +156,7 @@ async def create_task_route(): return jsonify(out), 201 -# DELIBERATE BREAK (#8249), reverted next commit +@tasks_bp.route("/planning", methods=["POST"]) @login_required async def start_planning_route(): uid = get_current_user_id() diff --git a/src/grimoire/services/notes.py b/src/grimoire/services/notes.py index f3f4d0b4..cffdc08a 100644 --- a/src/grimoire/services/notes.py +++ b/src/grimoire/services/notes.py @@ -499,7 +499,7 @@ async def list_notes( query = query.where(Note.parent_id == parent_id) count_query = count_query.where(Note.parent_id == parent_id) - if task_kind is not None and False: # DELIBERATE BREAK (#8249), reverted next commit + if task_kind is not None: query = query.where(Note.task_kind == task_kind) count_query = count_query.where(Note.task_kind == task_kind)