Update routes/api/feeds/[seriesId].ts
This commit is contained in:
parent
ed0e0b7ab1
commit
8db94b2710
|
|
@ -11,7 +11,6 @@ export const handler = async (_req: Request, ctx: FreshContext): Promise<Respons
|
||||||
return responseJSON({ message: "Series not found" }, STATUS_CODE.NotFound);
|
return responseJSON({ message: "Series not found" }, STATUS_CODE.NotFound);
|
||||||
}
|
}
|
||||||
const feed = rss.assembleFeed(series);
|
const feed = rss.assembleFeed(series);
|
||||||
console.log(feed);
|
|
||||||
|
|
||||||
const xml = responseXML(feed, STATUS_CODE.OK);
|
const xml = responseXML(feed, STATUS_CODE.OK);
|
||||||
console.log({ feed, xml });
|
console.log({ feed, xml });
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue