From 534348b7a81d7f019d98827ad760143639785e31 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Thu, 12 Jun 2025 16:53:32 -0500 Subject: [PATCH] Update imports --- app/rss.xml/route.ts | 4 ++-- src/app/feed.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/rss.xml/route.ts b/app/rss.xml/route.ts index bffa4e6b..3499818a 100644 --- a/app/rss.xml/route.ts +++ b/app/rss.xml/route.ts @@ -6,7 +6,7 @@ import { META_TITLE, PUBLIC_FEED_ENABLED, } from '@/app/config'; -import { feedPhotoToXml, formatPhotoForFeed } from '@/app/feed'; +import { feedPhotoToXml, formatPhotoForFeedRss } from '@/app/feed'; export const dynamic = 'force-static'; @@ -16,7 +16,7 @@ export async function GET() { limit: INFINITE_SCROLL_FEED_INITIAL, sortBy: 'createdAt', }); - const items = photos.map(formatPhotoForFeed).map(feedPhotoToXml); + const items = photos.map(formatPhotoForFeedRss).map(feedPhotoToXml); return new Response( ` diff --git a/src/app/feed.ts b/src/app/feed.ts index ba16e94f..7d4dc159 100644 --- a/src/app/feed.ts +++ b/src/app/feed.ts @@ -117,9 +117,9 @@ export const feedPhotoToXml = (photo: PublicFeedPhotoRss): string => { medium="image" width="${photo.media.content.width}" height="${photo.media.content.height}"> - + `; };