forked from PolarisPyra/daphnis
changed name of variable
This commit is contained in:
parent
362c03fc9e
commit
4f751ab255
@ -73,7 +73,7 @@ export async function getUserRatingBaseList() {
|
||||
const level = staticMusic?.level ?? 0;
|
||||
const score = rating.score ?? 0;
|
||||
|
||||
const ratingChange = calculateRating(level, score);
|
||||
const perSongRating = calculateRating(level, score);
|
||||
|
||||
return {
|
||||
...rating,
|
||||
@ -83,7 +83,7 @@ export async function getUserRatingBaseList() {
|
||||
genre: staticMusic?.genre || "Unknown Genre",
|
||||
level: staticMusic?.level || "Unknown Level",
|
||||
jacketPath: staticMusic?.jacketPath || "",
|
||||
rating: ratingChange,
|
||||
rating: perSongRating,
|
||||
};
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user