tangled
alpha
login
or
join now
t1c.dev
/
rocksky
forked from
rocksky.app/rocksky
2
fork
atom
A decentralized music tracking and discovery platform built on AT Protocol 🎵
2
fork
atom
overview
issues
pulls
pipelines
Use artistUri for artist left join
tsiry-sandratraina.com
1 month ago
e4ffca81
ee2a877d
+4
-1
1 changed file
expand all
collapse all
unified
split
apps
api
src
xrpc
app
rocksky
song
getSong.ts
+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
46
-
.leftJoin(tables.artists, eq(tables.tracks.uri, tables.artists.uri))
46
46
+
.leftJoin(
47
47
+
tables.artists,
48
48
+
eq(tables.tracks.artistUri, tables.artists.uri),
49
49
+
)
47
50
.where(
48
51
or(
49
52
eq(tables.userTracks.uri, params.uri),