aboutsummaryrefslogtreecommitdiff
path: root/controller
diff options
context:
space:
mode:
Diffstat (limited to 'controller')
-rw-r--r--controller/controller.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/controller.go b/controller/controller.go
index 3552304..ffa89ce 100644
--- a/controller/controller.go
+++ b/controller/controller.go
@@ -42,7 +42,7 @@ func CreateEntry(c *gin.Context) {
var entry db.YdlEntry
c.ShouldBind(&entry)
db.DB.Create(&entry)
- spawnWorker(entry.Link, entry.Output_folder)
+ spawnWorker(entry.Link, entry.OutputFolder)
c.Redirect(http.StatusFound, "/")
}