A decentralized music tracking and discovery platform built on AT Protocol 🎵 rocksky.app
spotify atproto lastfm musicbrainz scrobbling listenbrainz
0

Configure Feed

Select the types of activity you want to include in your feed.

fix(api): omit spotify email from getProfile response

The spotifyUser object was spread verbatim into app.rocksky.actor.getProfile,
leaking the user's Spotify account email. Strip it like the token secrets
already are.

+1 -1
+1 -1
apps/api/src/xrpc/app/rocksky/actor/getProfile.ts
··· 396 396 createdAt: profile.user?.createdAt.toISOString(), 397 397 updatedAt: profile.user?.updatedAt.toISOString(), 398 398 spotifyUser: { 399 - ...spotifyUser, 399 + ...R.omit(["email"], spotifyUser), 400 400 createdAt: spotifyUser?.createdAt.toISOString(), 401 401 updatedAt: spotifyUser?.updatedAt.toISOString(), 402 402 },