mirror of
https://github.com/riwiwa/muzi.git
synced 2026-03-04 00:51:59 -08:00
improve song title editing
This commit is contained in:
@@ -735,8 +735,15 @@ func songBatchEditHandler() http.HandlerFunc {
|
||||
return
|
||||
}
|
||||
|
||||
artist, _ := db.GetArtistById(song.ArtistId)
|
||||
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
json.NewEncoder(w).Encode(map[string]string{"success": "true"})
|
||||
json.NewEncoder(w).Encode(map[string]string{
|
||||
"success": "true",
|
||||
"artist": artist.Name,
|
||||
"title": title,
|
||||
"username": username,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user