From 2c71d011b0e379d7c6c4899619c3d6ccb0ec845d Mon Sep 17 00:00:00 2001 From: Like Date: Tue, 29 Aug 2023 13:46:06 +0800 Subject: [PATCH] Fix Lines json key bug (#217) Co-authored-by: ke.like --- model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model.go b/model.go index f83df1c6..b3ad692b 100644 --- a/model.go +++ b/model.go @@ -13,7 +13,7 @@ type GetLogRequest struct { From int64 `json:"from"` // unix time, eg time.Now().Unix() - 900 To int64 `json:"to"` // unix time, eg time.Now().Unix() Topic string `json:"topic"` // @note topic is not used anymore, use __topic__ : xxx in query instead - Lines int64 `json:"lines"` // max 100; offset, lines and reverse is ignored when use SQL in query + Lines int64 `json:"line"` // max 100; offset, lines and reverse is ignored when use SQL in query Offset int64 `json:"offset"` Reverse bool `json:"reverse"` Query string `json:"query"`