Skip to content

Commit 4e1ecc2

Browse files
authored
hardcode maintainer id in stale function for testing
1 parent 821eda3 commit 4e1ecc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nephthys/tasks/close_stale.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ async def get_is_stale(ts: str, max_retries: int = 3) -> bool:
4848
)
4949
await send_heartbeat(f"Thread not found for ticket {ts}.")
5050
maintainer_user = await env.db.user.find_unique(
51-
where={"slackId": env.slack_maintainer_id}
51+
# where={"slackId": env.slack_maintainer_id}
52+
where={"slackId": "U054VC2KM9P"}
5253
)
5354
if maintainer_user:
5455
await env.db.ticket.update(

0 commit comments

Comments
 (0)