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.
This commit is contained in:
john-okeefe committed 2026-03-05 20:26:35 -05:00
1 parent 71c415e958
commit e8efc2ee3e
1 file changed
+1 -1
+1 -1
View File
@@ -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{