Skip to content

Commit

Permalink
lint for post create
Browse files Browse the repository at this point in the history
  • Loading branch information
VeronicaPim committed Oct 9, 2024
1 parent 7382b29 commit 20dac23
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 @@ -16,8 +16,7 @@ module.exports = function (Posts) {
// This is an internal method, consider using Topics.reply instead
const { uid } = data;
const { tid } = data;
const { isAnonymous } = data;
const content = data.content.toString();
const content = data.content.toString(); // Removed unused `isAnonymous` variable

Check failure on line 19 in src/posts/create.js

View workflow job for this annotation

GitHub Actions / test

Multiple spaces found before '// Removed unu...'
const timestamp = data.timestamp || Date.now();
const isMain = data.isMain || false;

Expand Down

0 comments on commit 20dac23

Please sign in to comment.