π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Fix comments
Smaug#67396b6f1e4672cb
diff --git a/backend/controllers/documents.controller.go b/backend/controllers/documents.controller.goindex 6f37804a..6546f22e 100644--- a/backend/controllers/documents.controller.go+++ b/backend/controllers/documents.controller.go@@ -18,12 +18,12 @@ func NewDocumentController(app *app.App) DocumentController {}}-// Get Users-// @Summary Get all users+// Get documents+// @Summary Get all documents// @Method GET-// @Router /users [get]-// @Security Authenfification: Auth, Admin-// @Success 200 {object} Success([]models.User)+// @Router /documents [get]+// @Security Authenfification: Auth+// @Success 200 {object} Success([]models.Document)// @Failure 400 {object} Error// @Failure 401 {object} Errorfunc (ctr *Controller) GetDocuments(c *gin.Context) (int, any) {