fixed lint
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2019-10-10 17:21:05 +02:00
parent 8d027d6d32
commit 446e5d4d5c
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func (f *File) LoadFileByID() (err error) {
return
}
// NewAttachment creates a new file from an FileHeader
// Create creates a new file from an FileHeader
func Create(f *multipart.FileHeader, a web.Auth) (file *File, err error) {
// We first insert the file into the db to get it's ID