HEAVY: finish music service migration, tidy up services, more tests
This commit is contained in:
parent
9e311df462
commit
90a671982c
47 changed files with 2698 additions and 902 deletions
|
|
@ -9,9 +9,11 @@ type (
|
|||
}
|
||||
)
|
||||
|
||||
const DEFAULT_AVATAR_URL = "/img/default-avatar.png"
|
||||
|
||||
func (artist Artist) GetAvatar() string {
|
||||
if artist.Avatar == "" {
|
||||
return "/img/default-avatar.png"
|
||||
return DEFAULT_AVATAR_URL
|
||||
}
|
||||
return artist.Avatar
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue