Skip to content

Commit

Permalink
fix page slug
Browse files Browse the repository at this point in the history
  • Loading branch information
djyde committed Apr 26, 2021
1 parent a51eabe commit ce56429
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/doc/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
3 changes: 2 additions & 1 deletion service/webhook.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class WebhookService extends RequestScopeService {
page: {
select: {
title: true,
slug: true,
project: {
select: {
title: true
Expand All @@ -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,
Expand Down

1 comment on commit ce56429

@vercel
Copy link

@vercel vercel bot commented on ce56429 Apr 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.