Skip to content

Commit

Permalink
Testing lesson.title.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaellinaresxk committed Sep 13, 2023
1 parent 0942c2c commit 6e191e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/topics.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ const editTopicHandler = (req, res, next) => {
req
);

if (lesson.name) lesson.name = decode(lesson.name);
if (lesson.content) lesson.content = decode(lesson.content);
if (lesson.title) lesson.title = decode(lesson.title);
if (lesson.contents) lesson.contents = decode(lesson.contents);

res.render("topic/edit-topic", {
action,
Expand Down

0 comments on commit 6e191e8

Please sign in to comment.