Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix: trim spaces from email invite (#2668)

Vishal Sharma8dbd1c65e968
diff --git a/pkg/query-service/app/parser.go b/pkg/query-service/app/parser.go
index 024ae85e6b..a1818cf446 100644
--- a/pkg/query-service/app/parser.go
+++ b/pkg/query-service/app/parser.go
@@ -720,6 +720,8 @@ func parseInviteRequest(r *http.Request) (*model.InviteRequest, error) {
if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
return nil, err
}
+ // Trim spaces from email
+ req.Email = strings.TrimSpace(req.Email)
return &req, nil
}