fix: deno fmt

This commit is contained in:
P. Reis 2024-04-06 23:12:30 -03:00
parent ba08958b30
commit 25fcd04d9f
2 changed files with 8 additions and 8 deletions

View File

@ -58,7 +58,7 @@ async function renderStatuses(c: AppContext, filters: NostrFilter[]) {
const statuses = await Promise.all(events.map((event) => {
if (event.kind === 6) {
return renderReblog(event)
return renderReblog(event);
}
return renderStatus(event, c.get('pubkey'));
}));

View File

@ -103,8 +103,8 @@ async function renderReblog(event: DittoEvent) {
for (let i = 0; i < event.tags.length; i++) {
if (event.tags[i][0] === 'e') {
event.repost = await getEvent(event.tags[i][1], {kind:1})
break
event.repost = await getEvent(event.tags[i][1], { kind: 1 });
break;
}
}
@ -115,7 +115,7 @@ async function renderReblog(event: DittoEvent) {
id: event.id,
account: await renderAccount(event.author),
reblogged: true,
reblog
reblog,
};
}