tangled
alpha
login
or
join now
rocksky.app
/
rocksky
96
fork
atom
A decentralized music tracking and discovery platform built on AT Protocol 🎵
rocksky.app
spotify
atproto
lastfm
musicbrainz
scrobbling
listenbrainz
96
fork
atom
overview
issues
7
pulls
pipelines
update getProfile xrpc method
tsiry-sandratraina.com
8 months ago
25fad9fb
87a03666
+5
-1
1 changed file
expand all
collapse all
unified
split
apps
api
src
xrpc
app
rocksky
actor
getProfile.ts
+5
-1
apps/api/src/xrpc/app/rocksky/actor/getProfile.ts
···
292
292
avatar: `https://cdn.bsky.app/img/avatar/plain/${profile.did}/${_.get(profile, "profileRecord.value.avatar.ref", "").toString()}@jpeg`,
293
293
createdAt: profile.user?.createdAt.toISOString(),
294
294
updatedAt: profile.user?.updatedAt.toISOString(),
295
295
-
spotifyUser,
295
295
+
spotifyUser: {
296
296
+
...spotifyUser,
297
297
+
createdAt: spotifyUser?.createdAt.toISOString(),
298
298
+
updatedAt: spotifyUser?.updatedAt.toISOString(),
299
299
+
},
296
300
spotifyToken: {
297
301
...R.omit(["accessToken", "refreshToken"], spotifyToken),
298
302
createdAt: spotifyToken?.createdAt.toISOString(),