changed name of variable
This commit is contained in:
@ -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,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user