1diff --git a/controller/controller.go b/controller/controller.go
2index 7cbee6a499fa7308f5251df609fdcce179979afd..7fc874847299fe4623b4e2754425bca2b00cd806 100644
3--- a/controller/controller.go
4+++ b/controller/controller.go
5@@ -38,7 +38,7 @@
6 func (e *Env) CreateEntry(c *gin.Context) {
7 var entry db.Entry
8 c.ShouldBind(&entry)
9- e.Entries.Create(entry)
10+ e.Entries.Create(&entry)
11 e.Worker.SpawnWorker(entry.ID, entry.Link, entry.OutputFolder)
12 c.Redirect(http.StatusFound, "/")
13 }
14diff --git a/db/model.go b/db/model.go
15index 4b814f9e78828b1f26edf72722cb9251c0745b7e..01d9b9f72f6dff2b08fdeac296ee8cd4cb054c3c 100644
16--- a/db/model.go
17+++ b/db/model.go
18@@ -29,8 +29,8 @@ m.DB.Find(&entries)
19 return entries
20 }
21
22-func (m EntryModel) Create(entry Entry) {
23- m.DB.Create(&entry)
24+func (m EntryModel) Create(entry *Entry) {
25+ m.DB.Create(entry)
26 }
27
28 func (m EntryModel) Update(entry Entry) {