diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-06-13 21:20:17 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-06-13 21:20:17 +0200 |
commit | 04a10f2acd73d88f90433755bfbe667c5174acb5 (patch) | |
tree | 34f1f911c12ac23383de6bb0ded154c7517d1dcd /controller | |
parent | f1fd665089dd6b0a1fa4fc72a64db3cbf0b6d5f5 (diff) | |
download | mdir-04a10f2acd73d88f90433755bfbe667c5174acb5.tar.gz mdir-04a10f2acd73d88f90433755bfbe667c5174acb5.tar.bz2 mdir-04a10f2acd73d88f90433755bfbe667c5174acb5.zip |
ref: Rename snake case variable
My pythonic brain kicked in and I ended up naming a variable using snake
case.
Diffstat (limited to 'controller')
-rw-r--r-- | controller/controller.go | 2 |
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, "/") } |