diff --git a/public/doc/_sidebar.md b/public/doc/_sidebar.md index bc30c612..502e3d7a 100644 --- a/public/doc/_sidebar.md +++ b/public/doc/_sidebar.md @@ -6,7 +6,7 @@ - [Vercel](/self-host/vercel.md) - **Integration** - [Docsify](/integration/docsify.md) - - [Hexo](https://blog.cusdis.com/hello-world/integate-cusdis-in-hexo/) + - [Hexo](https://blog.cusdis.com/integate-cusdis-in-hexo/) - **Features** - [Notification](/features/notification.md) - **Advanced** diff --git a/service/webhook.service.ts b/service/webhook.service.ts index 0d0e0182..a1d8f4e9 100644 --- a/service/webhook.service.ts +++ b/service/webhook.service.ts @@ -42,6 +42,7 @@ export class WebhookService extends RequestScopeService { page: { select: { title: true, + slug: true, project: { select: { title: true @@ -62,7 +63,7 @@ export class WebhookService extends RequestScopeService { by_nickname: comment.by_nickname, by_email: comment.by_email, content: comment.content, - page_id: comment.pageId, + page_id: fullComment.page.slug, page_title: fullComment.page.title, project_title: fullComment.page.project.title, approve_link: approveLink,