changed name of variable

This commit is contained in:
Polaris
2024-08-15 00:49:15 -04:00
parent 362c03fc9e
commit 4f751ab255

View File

@ -73,7 +73,7 @@ export async function getUserRatingBaseList() {
const level = staticMusic?.level ?? 0; const level = staticMusic?.level ?? 0;
const score = rating.score ?? 0; const score = rating.score ?? 0;
const ratingChange = calculateRating(level, score); const perSongRating = calculateRating(level, score);
return { return {
...rating, ...rating,
@ -83,7 +83,7 @@ export async function getUserRatingBaseList() {
genre: staticMusic?.genre || "Unknown Genre", genre: staticMusic?.genre || "Unknown Genre",
level: staticMusic?.level || "Unknown Level", level: staticMusic?.level || "Unknown Level",
jacketPath: staticMusic?.jacketPath || "", jacketPath: staticMusic?.jacketPath || "",
rating: ratingChange, rating: perSongRating,
}; };
}); });