Skip to content

Commit

Permalink
🐛 bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Apr 18, 2023
1 parent e463590 commit dfb2ae9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ async function create(req, res) {
if (type === undefined) {
type = PAGE_TYPES.ARTICLE;
}
if (link === undefined) {
link = title;
}
}

let page;
Expand Down

0 comments on commit dfb2ae9

Please sign in to comment.