Chore: handle mealie API change (#3895)

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
joncrangleandshamoon authored and GitHub committed 2024-08-24 21:02:47 -07:00
1 parent 8ff68dd6bf
commit b14374f660
4 files changed
+25 -16

No files matched your search

+10 -1
View File
@@ -1,8 +1,17 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "{url}/api/groups/statistics",
api: "{url}/api/{endpoint}",
proxyHandler: credentialedProxyHandler,
mappings: {
statisticsv1: {
endpoint: "groups/statistics",
},
statisticsv2: {
endpoint: "households/statistics",
},
},
};
export default widget;