diff --git a/package-lock.json b/package-lock.json index f7f63293..e45c2f7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -738,9 +738,9 @@ "license": "MIT" }, "node_modules/@types/ws": { - "version": "8.5.12", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", - "integrity": "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==", + "version": "8.5.13", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.13.tgz", + "integrity": "sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==", "dev": true, "license": "MIT", "dependencies": { diff --git a/queries/views/media/movies.psql b/queries/views/media/movies.psql index 372f03b7..aff3d7e8 100644 --- a/queries/views/media/movies.psql +++ b/queries/views/media/movies.psql @@ -83,7 +83,7 @@ WHERE r.movies_id = m.id) AS related_movies, CASE WHEN m.star_rating IS NOT NULL AND m.last_watched IS NOT NULL THEN - json_build_object('title', m.title, 'url', CONCAT('https://coryd.dev/movies/', m.slug), 'date', m.last_watched, 'description', m.description, 'image', CONCAT('/', df.filename_disk), 'rating', m.star_rating) + json_build_object('title', m.title, 'url', CONCAT('https://coryd.dev', m.slug), 'date', m.last_watched, 'description', m.description, 'image', CONCAT('/', df.filename_disk), 'rating', m.star_rating) ELSE NULL END AS feed