Fixed lint
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
48ae52286d
commit
021b8cd52b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue