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

fix getArtistAlbums xrpc method

+1 -3
+1 -3
rockskyapi/rocksky-auth/src/xrpc/app/rocksky/artist/getArtistAlbums.ts
··· 39 return Effect.tryPromise({ 40 try: () => 41 ctx.analytics.post("library.getArtistAlbums", { 42 - pagination: { 43 - artist_id: params.uri, 44 - }, 45 }), 46 catch: (error) => new Error(`Failed to retrieve artist's albums: ${error}`), 47 });
··· 39 return Effect.tryPromise({ 40 try: () => 41 ctx.analytics.post("library.getArtistAlbums", { 42 + artist_id: params.uri, 43 }), 44 catch: (error) => new Error(`Failed to retrieve artist's albums: ${error}`), 45 });