From c718b53886534d8f94ed10585e2cb7af7e571a42 Mon Sep 17 00:00:00 2001 From: yinebebt Date: Sun, 19 Jan 2025 13:04:22 +0300 Subject: [PATCH] fix: update LinkPreviewEnabled json tag to match config name --- server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.go b/server/main.go index 157aecc2..6ef8d394 100644 --- a/server/main.go +++ b/server/main.go @@ -297,7 +297,7 @@ type configType struct { // Enable service which generates link previews: in response to a GET request with a URL // /v0/urlpreview?url=https%3A%2F%2Ftinode.co visit the URL, parse HTML, and return JSON like // {"title": "Page title", description: "This is a demo page", image_url: "https://tinode.co/img/logo.png"}. - LinkPreviewEnabled bool `json:"link_preview"` + LinkPreviewEnabled bool `json:"link_preview_enabled"` // Configs for subsystems Cluster json.RawMessage `json:"cluster_config"`