From e8efc2ee3ed971cc3cf434bbf3aae8e0bbb58de1 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Thu, 5 Mar 2026 20:26:35 -0500 Subject: [PATCH] fix: remove unsupported sync job type from job handler Remove "sync" from the list of valid job types to align with the removal of JobTypeSync from the Worker service. --- internal/handlers/jobs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/handlers/jobs.go b/internal/handlers/jobs.go index 1252ef4..6ee5e3c 100644 --- a/internal/handlers/jobs.go +++ b/internal/handlers/jobs.go @@ -38,7 +38,7 @@ func (h *JobsHandler) CreateJob(c echo.Context) error { // Validate job type var jobType services.JobType switch req.Type { - case "import", "convert", "thumbnails", "backup", "analytics", "sync": + case "import", "convert", "thumbnails", "backup", "analytics": jobType = services.JobType(req.Type) default: return c.JSON(http.StatusBadRequest, map[string]string{