Polishing

This commit is contained in:
Deluan
2016-03-23 16:30:38 -04:00
parent 85882f6a40
commit b25cfd96eb
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ func NewArtistIndexRepository() domain.ArtistIndexRepository {
func (r *artistIndexRepository) Put(m *domain.ArtistIndex) error {
if m.Id == "" {
return errors.New("Index Id is not set")
return errors.New("index Id is not set")
}
sort.Sort(m.Artists)
return r.saveOrUpdate(m.Id, m)