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
Merge branch 'main' into feat/feed-generator
tsiry-sandratraina.com
4 months ago
6d6f7924
ac29b12a
+4
-4
1 changed file
expand all
collapse all
unified
split
apps
api
src
spotify
app.ts
+4
-4
apps/api/src/spotify/app.ts
···
108
108
const spotifyAccount = await ctx.db
109
109
.select()
110
110
.from(spotifyAccounts)
111
111
+
.leftJoin(
112
112
+
spotifyApps,
113
113
+
eq(spotifyTokens.spotifyAppId, spotifyApps.spotifyAppId)
114
114
+
)
111
115
.where(
112
116
and(
113
117
eq(spotifyAccounts.userId, user.id),
114
118
eq(spotifyAccounts.isBetaUser, true)
115
119
)
116
116
-
)
117
117
-
.leftJoin(
118
118
-
spotifyApps,
119
119
-
eq(spotifyTokens.spotifyAppId, spotifyApps.spotifyAppId)
120
120
)
121
121
.limit(1)
122
122
.then((rows) => rows[0]);