fix(bot): ApprovalRequest missing conversation_id + timestamp in Hub path

This commit is contained in:
Variet Worker
2026-03-17 13:20:00 +09:00
parent 1bb54eb820
commit f6181e552d

2
bot.py
View File

@@ -1003,8 +1003,10 @@ class GravityBot(commands.Bot):
# Build approval request # Build approval request
request = ApprovalRequest( request = ApprovalRequest(
request_id=request_id, request_id=request_id,
conversation_id=data.get("conversation_id", ""),
command=data.get("command", ""), command=data.get("command", ""),
description=data.get("description", ""), description=data.get("description", ""),
timestamp=data.get("timestamp", time.time()),
project_name=project, project_name=project,
step_type=data.get("step_type", ""), step_type=data.get("step_type", ""),
status=status, status=status,