From d605c9375a6ae299c1fe0d1380d46db71e6b02ce Mon Sep 17 00:00:00 2001
From: ko_oler <kooler89@gmail.com>
Date: Thu, 8 Feb 2024 19:11:52 +0300
Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=B2?=
 =?UTF-8?q?=20EntryToPB=20=D0=B8=20EntryFromPB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 log/log.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/log/log.go b/log/log.go
index d027e383..e3a9f110 100644
--- a/log/log.go
+++ b/log/log.go
@@ -1,6 +1,7 @@
 package log
 
 import (
+	"maps"
 	"time"
 
 	"git.perx.ru/perxis/perxis-go/id"
@@ -111,6 +112,7 @@ func (e *Entry) ToMap() map[string]any {
 	}
 	if e.ObjectID != nil {
 		res["object_id"] = e.ObjectID.String()
+		maps.Copy(res, e.ObjectID.ToMap())
 	}
 	if e.CallerID != nil {
 		res["caller_id"] = e.CallerID.String()
-- 
GitLab