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

fix: update scrobble message to replace "sha_256" with "sha256" and improve logging

+10 -2
+10 -2
apps/api/src/nowplaying/nowplaying.service.ts
··· 432 432 xata_createdat: artist_album.createdAt.toISOString(), 433 433 xata_updatedat: artist_album.updatedAt.toISOString(), 434 434 }, 435 - }) 435 + }), 436 + null, 437 + 2 436 438 ); 439 + 440 + console.log("Publishing scrobble to NATS"); 441 + console.log(message.replaceAll("sha_256", "sha256")); 437 442 438 443 ctx.nc.publish( 439 444 "rocksky.scrobble", ··· 487 492 }) 488 493 ); 489 494 490 - ctx.nc.publish("rocksky.track", Buffer.from(trackMessage)); 495 + ctx.nc.publish( 496 + "rocksky.track", 497 + Buffer.from(trackMessage.replaceAll("sha_256", "sha256")) 498 + ); 491 499 } 492 500 493 501 export async function scrobbleTrack(