fix naming of util-crontab-schedule_task
This commit is contained in:
parent
c24b6683f4
commit
ddbed01cda
|
|
@ -60,7 +60,7 @@ public class CrontabService : ICrontabService
|
|||
{
|
||||
var convService = _services.GetRequiredService<IConversationService>();
|
||||
var conv = await convService.GetConversation("73a9ee27-d597-4739-958f-3bd79760ac8e");
|
||||
if (!conv.States.ContainsKey("cron_expression"))
|
||||
if (conv == null || !conv.States.ContainsKey("cron_expression"))
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "schedule_task",
|
||||
"name": "util-crontab-schedule_task",
|
||||
"description": "Set up a scheduled task",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
|
|
|
|||
Loading…
Reference in a new issue