fixed comments
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user