From 6a69e0422549f4720ab07163c203c58a272f9ba1 Mon Sep 17 00:00:00 2001
From: ko_oler <kooler89@gmail.com>
Date: Tue, 5 Mar 2024 14:08:21 +0300
Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?=
 =?UTF-8?q?=D0=BE=20=D0=BD=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20?=
 =?UTF-8?q?=D1=82=D0=B5=D0=B3=D0=BE=D0=B2=20=D0=B4=D0=BB=D1=8F=20=D0=BF?=
 =?UTF-8?q?=D0=BE=D0=BB=D1=8F=20ID=20=D0=BE=D0=B1=D1=8A=D0=B5=D0=BA=D1=82?=
 =?UTF-8?q?=D0=B0=20Entry?=
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 f7218f53..39e67999 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