fixed comments

This commit is contained in:
Polaris
2024-08-14 23:58:28 -04:00
parent 64da6391f3
commit 43bbbdc61b

View File

@ -34,7 +34,7 @@ export async function getUserRatingBaseList() {
songId: { songId: {
in: baseListMusicIds, in: baseListMusicIds,
}, },
version: supportedVersionNumber, // Ensure the version matches version: supportedVersionNumber,
}, },
select: { select: {
songId: true, songId: true,
@ -62,7 +62,7 @@ export async function getUserRatingBaseList() {
const level = songInfo?.level ?? 0; const level = songInfo?.level ?? 0;
const score = ratingListSong.score ?? 0; const score = ratingListSong.score ?? 0;
// Calculate the rating // Rating Formula
let rating = 0; let rating = 0;
if (score >= 1009000) { if (score >= 1009000) {