feat: implement song rating system with admin view and user persistence
This commit is contained in:
@@ -32,6 +32,8 @@ export async function GET() {
|
||||
puzzles: song.puzzles,
|
||||
genres: song.genres,
|
||||
specials: song.specials.map(ss => ss.special),
|
||||
averageRating: song.averageRating,
|
||||
ratingCount: song.ratingCount,
|
||||
}));
|
||||
|
||||
return NextResponse.json(songsWithActivations);
|
||||
|
||||
Reference in New Issue
Block a user