From 12d883e338656d949ac2fd7aeac9cec9e50c7cd6 Mon Sep 17 00:00:00 2001 From: transcental Date: Mon, 21 Jul 2025 13:00:31 +0100 Subject: [PATCH] hardcode maintainer id in stale function for testing --- nephthys/tasks/close_stale.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nephthys/tasks/close_stale.py b/nephthys/tasks/close_stale.py index ae01e7c..7d8de2c 100644 --- a/nephthys/tasks/close_stale.py +++ b/nephthys/tasks/close_stale.py @@ -48,7 +48,8 @@ async def get_is_stale(ts: str, max_retries: int = 3) -> bool: ) await send_heartbeat(f"Thread not found for ticket {ts}.") maintainer_user = await env.db.user.find_unique( - where={"slackId": env.slack_maintainer_id} + # where={"slackId": env.slack_maintainer_id} + where={"slackId": "U054VC2KM9P"} ) if maintainer_user: await env.db.ticket.update(