Fixed lint
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2019-10-10 20:10:59 +02:00
parent 48ae52286d
commit 021b8cd52b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ func (f *File) LoadFileByID() (err error) {
return
}
// LoadFileMetaByID loads everything about a file without loading the actual file
func (f *File) LoadFileMetaByID() (err error) {
_, err = x.Where("id = ?", f.ID).Get(f)
return