chore: bump toolchain & fix lint

This commit is contained in:
DarkSky committed 2026-05-24 06:47:17 +08:00
1 parent adfa51a372
commit 2aa56cbccd
39 files changed
+151 -130

No files matched your search

@@ -374,10 +374,10 @@ export class CopilotEmbeddingJob {
const docContent = await this.doc.getFullDocContent(workspaceId, docId);
const authors = await this.models.doc.getAuthors(workspaceId, docId);
if (docContent && authors) {
const { title = 'Untitled', summary } = docContent;
const { title, summary } = docContent;
const { createdAt, updatedAt, createdByUser, updatedByUser } = authors;
return {
title,
title: title || 'Untitled',
summary,
createdAt: createdAt.toDateString(),
updatedAt: updatedAt.toDateString(),