Skip to content

Commit

Permalink
fixed linting issues #2
Browse files Browse the repository at this point in the history
  • Loading branch information
ericlin2 committed Oct 4, 2024
1 parent cbd78c8 commit 16f8c96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/posts/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ module.exports = function (Posts) {
tid: tid,
content: content,
timestamp: timestamp,
anonymous: data.anonymous ? 1 : 0,
// Added anonymous status
anonymous: data.anonymous ? 1 : 0,
};

if (data.toPid) {
Expand Down

0 comments on commit 16f8c96

Please sign in to comment.