A decentralized music tracking and discovery platform built on AT Protocol 🎵

Use artistUri for artist left join

+4 -1
+4 -1
apps/api/src/xrpc/app/rocksky/song/getSong.ts
··· 43 43 tables.tracks, 44 44 eq(tables.userTracks.trackId, tables.tracks.id), 45 45 ) 46 - .leftJoin(tables.artists, eq(tables.tracks.uri, tables.artists.uri)) 46 + .leftJoin( 47 + tables.artists, 48 + eq(tables.tracks.artistUri, tables.artists.uri), 49 + ) 47 50 .where( 48 51 or( 49 52 eq(tables.userTracks.uri, params.uri),