hardcode maintainer id in stale function for testing

This commit is contained in:
transcental 2025-07-21 13:00:31 +01:00
parent 821eda3a23
commit 12d883e338

View file

@ -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(