From 04a10f2acd73d88f90433755bfbe667c5174acb5 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Mon, 13 Jun 2022 21:20:17 +0200 Subject: ref: Rename snake case variable My pythonic brain kicked in and I ended up naming a variable using snake case. --- controller/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controller') 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, "/") } -- cgit v1.2.3