Do not Debug log the events
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user