From cc17e4c1fe81a690a58383024896195b1456ad46 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 23 Apr 2025 16:42:35 +0200 Subject: [PATCH] fix(updatenotification): Fix error handling when fetching applist for server update Signed-off-by: provokateurin --- apps/updatenotification/src/components/UpdateNotification.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/updatenotification/src/components/UpdateNotification.vue b/apps/updatenotification/src/components/UpdateNotification.vue index 3fc577cab90..3ba6bf5bd69 100644 --- a/apps/updatenotification/src/components/UpdateNotification.vue +++ b/apps/updatenotification/src/components/UpdateNotification.vue @@ -357,10 +357,10 @@ export default { this.missingAppUpdates = data.ocs.data.missing this.isListFetched = true this.appStoreFailed = false - }).catch(({ data }) => { + }).catch(({ response }) => { this.availableAppUpdates = [] this.missingAppUpdates = [] - this.appStoreDisabled = data.ocs.data.appstore_disabled + this.appStoreDisabled = response.data.ocs.data.appstore_disabled this.isListFetched = true this.appStoreFailed = true })