indiehd / web-api

GNU Affero General Public License v3.0
6 stars 4 forks source link

Rename songs() method on User model to be more intuitive #177

Open cbj4074 opened 4 years ago

cbj4074 commented 4 years ago

One could easily assume that this method returns the songs that are associated with a given artist, but that would be untrue.

This method returns the songs that a given user has purchased, so it should be named something more appropriate, like purchasedSongs().