Do not Debug log the events

This commit is contained in:
Achim Rohn
2026-01-15 01:38:42 +01:00
parent 4cd189ce2a
commit ae015b7e3b
-2
View File
@@ -73,7 +73,6 @@ func Should(err error) {
}
func Create(entClient *ent.Client, c HtmxContext, name string, data any) error {
Debug("event", name, data)
hasAuth, authContext := c.GetAuthContext()
if !hasAuth {
return fmt.Errorf("failed to get auth context")
@@ -88,7 +87,6 @@ func CreateWithSession(entClient *ent.Client, ctx context.Context,
func CreateWithSessionAndNotify(entClient *ent.Client, ctx context.Context,
auth AuthContext, name string, data any, service *Service) error {
Debug("event", name, data)
var mapData JSONB
if data == nil {
mapData = make(JSONB)