From 1dc6c54f81404aeefcf16858a91155e3c4234198 Mon Sep 17 00:00:00 2001
From: Pavel Antonov <antonov@perx.ru>
Date: Tue, 5 Mar 2024 11:26:31 +0000
Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s)

---
 logs/log.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/logs/log.go b/logs/log.go
index f7218f53..5689b316 100644
--- a/logs/log.go
+++ b/logs/log.go
@@ -27,7 +27,7 @@ func (l Level) String() string {
 }
 
 type Entry struct {
-	ID        string       `json:"_id" bson:"_id" mapstructure:"_id"`
+	ID        string       `json:"id" bson:"_id" mapstructure:"id"`
 	Timestamp time.Time    `json:"timestamp,omitempty" bson:"timestamp,omitempty" mapstructure:"timestamp,omitempty"`
 	Level     Level        `json:"level,omitempty" bson:"level,omitempty" mapstructure:"level,omitempty"`
 	Message   string       `json:"message,omitempty" bson:"message,omitempty" mapstructure:"message,omitempty"`
-- 
GitLab