fixed some bugs with auth and accept functions

This commit is contained in:
2025-04-25 17:59:44 -01:06
parent 3066fb1b84
commit 5452b130a1
9 changed files with 47 additions and 40 deletions

View File

@@ -58,7 +58,7 @@ func (a *A) HandleEvent(c context.T, req []byte, srv interfaces.Server,
}
var reason []byte
ok, reason = srv.AddEvent(c, env.T, a.Listener.Req(), a.Listener.AuthedBytes(), remote)
log.T.F("event added %v", ok)
log.T.F("%s <- event added %v", remote, ok)
if err = okenvelope.NewFrom(env.Id(), ok, reason).Write(a.Listener); chk.E(err) {
return
}