Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Remove old print

Smaug67396d9dd42297a4
diff --git a/backend/controllers/documents.controller.go b/backend/controllers/documents.controller.go
index 6991c2e9..73d2a5d2 100644
--- a/backend/controllers/documents.controller.go
+++ b/backend/controllers/documents.controller.go
@@ -4,7 +4,6 @@ import (
"alexandrie/app"
"alexandrie/models"
"alexandrie/utils"
- "fmt"
"net/http"
"time"
@@ -102,8 +101,6 @@ func (ctr *Controller) CreateDocument(c *gin.Context) (int, any) {
CreatedTimestamp: time.Now().UnixMilli(),
UpdatedTimestamp: time.Now().UnixMilli(),
}
- fmt.Println("Document", document)
-
err = ctr.app.Services.Document.CreateDocument(document)
if err != nil {
return http.StatusInternalServerError, err