caipin 4 vuotta sitten
vanhempi
commit
9690c0fd3e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      web/api/upload_api.go

+ 1 - 1
web/api/upload_api.go

@@ -93,7 +93,7 @@ func (c *UploadApi) Post() {
 		return
 	}
 
-	err = c.ServiceContract.SaveUpload(Location, head.Filename, id)
+	err = c.ServiceContract.SaveUpload(Location, head.Filename, id, "pdf")
 	if err != nil {
 		errCode = -6
 		return