From afbe0b80e69f360f7b73568c4c03b3801bebd651 Mon Sep 17 00:00:00 2001 From: karootplx Date: Thu, 19 Sep 2024 22:16:31 +0800 Subject: [PATCH] chore: update get tasks endpoint with 3d tasktype --- pkg/api/controllers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/controllers.go b/pkg/api/controllers.go index a9276ec..3977b2c 100644 --- a/pkg/api/controllers.go +++ b/pkg/api/controllers.go @@ -534,7 +534,7 @@ func GetTasksByPageController(c *gin.Context) { } if len(taskTypes) == 1 && taskTypes[0] == "All" { - taskTypes = []string{"CODE_GENERATION", "TEXT_TO_IMAGE", "DIALOGUE"} + taskTypes = []string{"CODE_GENERATION", "TEXT_TO_IMAGE", "DIALOGUE", "TEXT_TO_THREE_DEEZ"} } // Parsing "page" and "limit" as integers with default values