From 52a4f1a423c51c1558ba871cc40a6706aa934eae Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 10 Sep 2024 00:13:36 -0700 Subject: [PATCH] Fix: jsonrpchandler requires mappings (#3970) --- src/widgets/nzbget/widget.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/widgets/nzbget/widget.js b/src/widgets/nzbget/widget.js index 79ca1807d..80662984f 100644 --- a/src/widgets/nzbget/widget.js +++ b/src/widgets/nzbget/widget.js @@ -4,6 +4,12 @@ const widget = { api: "{url}/jsonrpc", proxyHandler: jsonrpcProxyHandler, allowedEndpoints: /status/, + + mappings: { + status: { + endpoint: "status", + }, + }, }; export default widget;