From 57112b916bfe47df839f07a4e2ce90d5246383ef Mon Sep 17 00:00:00 2001 From: glidea <740696441@qq.com> Date: Wed, 23 Apr 2025 11:43:36 +0800 Subject: [PATCH] adapting to RSSHub's incompatible changes --- pkg/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/api.go b/pkg/api/api.go index 1f427be..1150afc 100644 --- a/pkg/api/api.go +++ b/pkg/api/api.go @@ -138,7 +138,7 @@ type QueryRSSHubRoutesResponse struct { type RSSHubRoute struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` - Path string `json:"path,omitempty"` + Path any `json:"path,omitempty"` Example string `json:"example,omitempty"` Parameters map[string]any `json:"parameters,omitempty"` Features map[string]any `json:"features,omitempty"`