From 546db41ab7541ca7fef1b8c06876b5f7c773bb8e Mon Sep 17 00:00:00 2001 From: SergeiTarkhanov Date: Mon, 4 Nov 2024 21:15:54 +0300 Subject: [PATCH] Fix immich widget after breaking changes update --- docs/customservices.md | 2 +- src/components/services/Immich.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/customservices.md b/docs/customservices.md index 0faabfc..0d53e91 100644 --- a/docs/customservices.md +++ b/docs/customservices.md @@ -463,7 +463,7 @@ The PiAlert service displays stats from your PiAlert server. ## Immich The Immich service displays stats from your Immich server. -The Immich server must be running at least version 1.85.0 for the correct api endpoint to work. +The Immich server must be running at least version 1.118.0 for the correct api endpoint to work. ```yaml - name: "Immich" diff --git a/src/components/services/Immich.vue b/src/components/services/Immich.vue index 61dbb79..fcf06c7 100644 --- a/src/components/services/Immich.vue +++ b/src/components/services/Immich.vue @@ -78,7 +78,7 @@ export default { "x-api-key": this.item.apikey, }; - this.fetch(`/api/server-info/statistics`, { headers }) + this.fetch(`/api/server/statistics`, { headers }) .then((stats) => { this.photos = stats.photos; this.videos = stats.videos;