fix: typo

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei
2024-01-07 21:32:34 +08:00
parent ef2289d959
commit 19bb8cce8f

View File

@@ -57,7 +57,7 @@ export class AggregateController {
return this.snippetService.getPublicSnippetByName(theme, 'theme')
}),
])
const [user, categories, pageMeta, url, seo, latestNodeId, themeConfig] =
const [user, categories, pageMeta, url, seo, latestNoteId, themeConfig] =
tasks.map((t) => {
if (t.status === 'fulfilled') {
return t.value
@@ -71,7 +71,7 @@ export class AggregateController {
url: omit(url, ['adminUrl']),
categories,
pageMeta,
latestNodeId,
latestNoteId,
theme: themeConfig,
}
}