✨ Editable content rating for every community moderator
This commit is contained in:
@@ -39,6 +39,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
|
||||
attachments.Post("/", sec.ValidatorMiddleware, createAttachmentDirectly)
|
||||
attachments.Post("/referenced", sec.ValidatorMiddleware, createAttachmentWithURL)
|
||||
attachments.Put("/:id", sec.ValidatorMiddleware, updateAttachmentMeta)
|
||||
attachments.Put("/:id/rating", sec.ValidatorMiddleware, updateAttachmentRating)
|
||||
attachments.Delete("/:id", sec.ValidatorMiddleware, deleteAttachment)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user