Module: pages/api/data/comments

Methods

(inner) commentsHandler()

This is the API route for managing comments.

This is the API route for managing comments. It supports POST and DELETE, allowing users to create and delete their own comments. Comments cannot be edited, and dream owners cannot delete comments from others (this is likely changing in the near future).

Source: