Skip to content

Commit

Permalink
Testing topic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaellinaresxk committed Sep 10, 2023
1 parent 2487125 commit 0942c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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.description) lesson.description = decode(lesson.description);
if (lesson.name) lesson.name = decode(lesson.name);
if (lesson.content) lesson.content = decode(lesson.content);

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

0 comments on commit 0942c2c

Please sign in to comment.