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.

Fix response syntax

Smaug6739465d386aa3d9
diff --git a/backend/utils/responses.go b/backend/utils/responses.go
index bce106ff..a0d877c3 100644
--- a/backend/utils/responses.go
+++ b/backend/utils/responses.go
@@ -32,7 +32,7 @@ func WP(f func(c *gin.Context) (int, any)) gin.HandlerFunc {
for _, e := range err {
errors = append(errors, validationErrorToText(e))
}
- c.JSON(code, Error(strings.Join(errors, ", ")))
+ c.JSON(code, Error(strings.Join(errors, " ")))
} else if err, ok := body.(error); ok {
c.JSON(code, Error(err.Error()))
} else {