From fb2c4793251ded255385d27706d3533fb63d79e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Thu, 9 Sep 2021 22:51:03 +0200 Subject: [PATCH] logs: interface instead of string. --- internal/types/message/messages.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/types/message/messages.go b/internal/types/message/messages.go index 06d63d1c..bd64db7b 100644 --- a/internal/types/message/messages.go +++ b/internal/types/message/messages.go @@ -32,9 +32,9 @@ type SystemAdmin struct { type SystemLogs = []SystemLog type SystemLog struct { - Level string `json:"level"` - Fields map[string]string `json:"fields"` - Message string `json:"message"` + Level string `json:"level"` + Fields map[string]interface{} `json:"fields"` + Message string `json:"message"` } type SystemDisconnect struct {