From 352bd9e07447cfa8c1910011de961d8d063bd16d Mon Sep 17 00:00:00 2001 From: ko_oler <kooler89@gmail.com> Date: Tue, 5 Mar 2024 14:06:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2=20=D0=BC=D0=B5=D1=82=D0=BE?= =?UTF-8?q?=D0=B4=20ToMap()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logs/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logs/log.go b/logs/log.go index 39e67999..f7218f53 100644 --- a/logs/log.go +++ b/logs/log.go @@ -101,7 +101,7 @@ func EntryFromPB(request *pb.LogEntry) *Entry { func (e *Entry) ToMap() map[string]any { res := map[string]any{ - "id": e.ID, + "_id": e.ID, "timestamp": e.Timestamp, "level": e.Level, "message": e.Message, -- GitLab