Skip to content

Commit

Permalink
JSDoc more!
Browse files Browse the repository at this point in the history
  • Loading branch information
webdev03 committed Oct 5, 2023
1 parent e2d1ec5 commit 7c7da7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/classes/Profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ class Profile {
return comments;
}

/**
* Toggle the comments section on the profile
*/
async toggleComments() {
const request = await fetch(`https://scratch.mit.edu/site-api/comments/user/${this.user}/toggle-comments/`, {
method: "POST",
Expand Down

0 comments on commit 7c7da7a

Please sign in to comment.