From 86511ae2c82d778812ea0cddc4efc08f0712dd07 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 27 九月 2023 16:41:30 +0800
Subject: [PATCH] fix

---
 api/v1/task.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/api/v1/task.go b/api/v1/task.go
index a03a4f0..419316b 100644
--- a/api/v1/task.go
+++ b/api/v1/task.go
@@ -115,6 +115,7 @@
 
 	taskResponse.Prompt = conf.Conf.Prompt
 	taskResponse.ChannelAmount = channelAmount
+	taskResponse.TaskCount = service.NewTaskService().NewTaskCount()
 
 	ctx.OkWithDetailed(taskResponse)
 }

--
Gitblit v1.8.0