Renamed error variable

This commit is contained in:
Deluan
2016-03-10 11:25:15 -05:00
parent 42f3279aaf
commit 5fc3b3ff11
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func (c browser) Directory(id string) (*DirectoryInfo, error) {
dir = c.buildAlbumDir(al, tracks)
default:
beego.Debug("Id", id, "not found")
return nil, DataNotFound
return nil, ErrDataNotFound
}
return dir, nil