mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
fix: schedule run failed
This commit is contained in:
@@ -314,10 +314,9 @@ func (r *Resolver) TriggerSchedule(ctx context.Context, botID string, payload sc
|
||||
return fmt.Errorf("schedule command is required")
|
||||
}
|
||||
|
||||
chatID := "schedule-" + payload.ID
|
||||
req := conversation.ChatRequest{
|
||||
BotID: botID,
|
||||
ChatID: chatID,
|
||||
ChatID: botID,
|
||||
Query: payload.Command,
|
||||
UserID: payload.OwnerUserID,
|
||||
Token: token,
|
||||
|
||||
Reference in New Issue
Block a user