Skip to content

Commit

Permalink
Fix: jsonrpchandler requires mappings (#3970)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon authored Sep 10, 2024
1 parent 8fa6454 commit 52a4f1a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/widgets/nzbget/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ const widget = {
api: "{url}/jsonrpc",
proxyHandler: jsonrpcProxyHandler,
allowedEndpoints: /status/,

mappings: {
status: {
endpoint: "status",
},
},
};

export default widget;

0 comments on commit 52a4f1a

Please sign in to comment.