Removed MediaItem type

This commit is contained in:
Eclypsed
2024-03-27 23:53:59 -04:00
parent 2314bc638d
commit a4bad9d73b
7 changed files with 34 additions and 34 deletions

View File

@@ -6,7 +6,7 @@ import { Connections } from '$lib/server/connections'
export const GET: RequestHandler = async ({ params }) => {
const userId = params.userId!
const recommendations: MediaItem[] = []
const recommendations: (Song | Album | Playlist)[] = []
for (const connection of Connections.getUserConnections(userId)) {
await connection
.getRecommendations()