fix: omit total in FindTasks

This commit is contained in:
Jason Song
2023-01-04 16:16:31 +08:00
parent 5d938ebf4e
commit 7f6a803d24
4 changed files with 5 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ func StopEndlessTasks(ctx context.Context) error {
}
func stopTasks(ctx context.Context, opts actions_model.FindTaskOptions) error {
tasks, _, err := actions_model.FindTasks(ctx, opts)
tasks, err := actions_model.FindTasks(ctx, opts)
if err != nil {
return fmt.Errorf("find tasks: %w", err)
}