From f21d5476e0f4b86ebdf0287c38580c2313146b22 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Fri, 8 Jan 2021 08:18:57 +0100 Subject: [PATCH] Add actionlog ID field json tags --- pkg/actionlog/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/actionlog/types.go b/pkg/actionlog/types.go index f345518ba..f20f2d3b1 100644 --- a/pkg/actionlog/types.go +++ b/pkg/actionlog/types.go @@ -14,7 +14,7 @@ type ( // Standardized data structure for audit log events Action struct { - ID uint64 + ID uint64 `json:"actionID,string"` // Timestamp of the raised event Timestamp time.Time `json:"timestamp"`