fix(bot): ApprovalRequest missing conversation_id + timestamp in Hub path
This commit is contained in:
2
bot.py
2
bot.py
@@ -1003,8 +1003,10 @@ class GravityBot(commands.Bot):
|
||||
# Build approval request
|
||||
request = ApprovalRequest(
|
||||
request_id=request_id,
|
||||
conversation_id=data.get("conversation_id", ""),
|
||||
command=data.get("command", ""),
|
||||
description=data.get("description", ""),
|
||||
timestamp=data.get("timestamp", time.time()),
|
||||
project_name=project,
|
||||
step_type=data.get("step_type", ""),
|
||||
status=status,
|
||||
|
||||
Reference in New Issue
Block a user