Skip to content

Commit 5c6edd0

Browse files
committed
fix: preview
Signed-off-by: Innei <i@innei.in>
1 parent 6034308 commit 5c6edd0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/modules/mx-space/event-handler.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,9 @@ export const handleEvent =
6767
logger.error(`category not found, post id: ${id}`)
6868
return
6969
}
70-
const simplePreview = summary
70+
7171
const url = await urlBuilder.build(payload as PostModel)
72-
const message = `${
73-
owner.name
74-
} ${publishDescription}: ${title}\n\n${simplePreview}\n\n${
72+
const message = `${owner.name} ${publishDescription}: ${title}\n\n${
7573
summary ? `${summary}\n\n` : ''
7674
}\n前往阅读:${url}`
7775
await sendToGroup([

0 commit comments

Comments
 (0)