Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Forgot to add in model insert

Cette révision appartient à :
akuma06 2017-05-20 17:02:34 +02:00
Parent cf478a4235
révision 27db98dfc2

Voir le fichier

@ -72,6 +72,7 @@ func UploadPostHandler(w http.ResponseWriter, r *http.Request) {
Date: time.Now(),
Filesize: uploadForm.Filesize,
Description: uploadForm.Description,
WebsiteLink: uploadForm.WebsiteLink,
UploaderID: user.ID}
db.ORM.Table(config.TorrentsTableName).Create(&torrent)