From 98ec6b2e582cee9cf9df538af0411789b8c35df1 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Mon, 9 Mar 2026 10:55:22 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20db=5Fpatch=20call=20=E2=80=94?= =?UTF-8?q?=20no=20PATCH=20endpoint=20for=20scout=5Fopportunities?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The database API only has GET/POST/DELETE for scout_opportunities. The expires_at update is non-critical — the view timeout controls the actual scout window. Co-Authored-By: Claude Opus 4.6 --- cogs/admins.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cogs/admins.py b/cogs/admins.py index 11d9260..92269e4 100644 --- a/cogs/admins.py +++ b/cogs/admins.py @@ -777,15 +777,6 @@ class Admins(commands.Cog): now = datetime.datetime.now() expires_dt = now + datetime.timedelta(minutes=minutes) expires_unix = int(expires_dt.timestamp()) - expires_at_ms = int_timestamp(expires_dt) - - # Update the scout opportunity's expires_at in the database - await db_patch( - "scout_opportunities", - scout_opp_id, - params=[("expires_at", expires_at_ms)], - ) - embed, card_lines = build_scout_embed( opener_team, cards, expires_unix=expires_unix ) -- 2.25.1