Fix feeds
This commit is contained in:
parent
5f5f024ae7
commit
cb4a4e06c8
@ -23,7 +23,7 @@ const userAtomFeedHandler = async function (ctx: Context) {
|
||||
if (profile.nip05) {
|
||||
const articleEvents = await fetchArticlesByAuthor(pubkey);
|
||||
const articles = articleEvents.map((a) => new Article(a));
|
||||
const atom = profileAtomFeed(profile, articles);
|
||||
const atom = await profileAtomFeed(profile, articles);
|
||||
|
||||
ctx.response.headers.set("Content-Type", "application/atom+xml");
|
||||
ctx.response.body = atom;
|
||||
|
Loading…
x
Reference in New Issue
Block a user