update
This commit is contained in:
		@@ -94,7 +94,10 @@ async function fetch({ songIdArray, debug = false }) {
 | 
			
		||||
    // console.log("songAlbumRel, songArtistRel", songAlbumRel, songArtistRel);
 | 
			
		||||
    // console.log("songInfoList", songInfoList);
 | 
			
		||||
 | 
			
		||||
    await dbUtils.query('INSERT IGNORE INTO song_album_relation (song_id, album_id) VALUES ?', [songAlbumRel]);
 | 
			
		||||
    if (songInfoList.length == 0) return;
 | 
			
		||||
 | 
			
		||||
    if (songAlbumRel.length > 0)
 | 
			
		||||
        await dbUtils.query('INSERT IGNORE INTO song_album_relation (song_id, album_id) VALUES ?', [songAlbumRel]);
 | 
			
		||||
    await dbUtils.query('INSERT IGNORE INTO song_artist_relation (song_id, artist_id) VALUES ?', [songArtistRel]);
 | 
			
		||||
    await dbUtils.query(`
 | 
			
		||||
        INSERT INTO song (
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user