tanbushi commited on
Commit
6ce71b1
·
1 Parent(s): 46b5c24
Files changed (1) hide show
  1. proxy.py +1 -0
proxy.py CHANGED
@@ -59,6 +59,7 @@ async def do_proxy(url: str, method: str, headers: dict, content: str, max_retri
59
  future_time = now_beijing + timedelta(days=1)
60
  # future_timestamp = future_time.timestamp()
61
  future_timestamp = future_time.isoformat()
 
62
  supabase.table("airs_api_keys").update({"ran_at": future_timestamp}).eq("id", api_key_id).execute()
63
  print('更新成功')
64
  except Exception as e:
 
59
  future_time = now_beijing + timedelta(days=1)
60
  # future_timestamp = future_time.timestamp()
61
  future_timestamp = future_time.isoformat()
62
+ print('future_timestamp',future_timestamp)
63
  supabase.table("airs_api_keys").update({"ran_at": future_timestamp}).eq("id", api_key_id).execute()
64
  print('更新成功')
65
  except Exception as e: