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

Merge branch 'main' into feat/feed-generator

+4 -4
+4 -4
apps/api/src/spotify/app.ts
··· 108 108 const spotifyAccount = await ctx.db 109 109 .select() 110 110 .from(spotifyAccounts) 111 + .leftJoin( 112 + spotifyApps, 113 + eq(spotifyTokens.spotifyAppId, spotifyApps.spotifyAppId) 114 + ) 111 115 .where( 112 116 and( 113 117 eq(spotifyAccounts.userId, user.id), 114 118 eq(spotifyAccounts.isBetaUser, true) 115 119 ) 116 - ) 117 - .leftJoin( 118 - spotifyApps, 119 - eq(spotifyTokens.spotifyAppId, spotifyApps.spotifyAppId) 120 120 ) 121 121 .limit(1) 122 122 .then((rows) => rows[0]);