aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2025-04-23 16:42:35 +0200
committerprovokateurin <kate@provokateurin.de>2025-04-23 16:42:35 +0200
commitcc17e4c1fe81a690a58383024896195b1456ad46 (patch)
tree0f1060fccb69643f4ac22fe0da92db1a0313558c
parent9bfa1e7bd995161db1ab19dab45776b5ff1a7295 (diff)
downloadnextcloud-server-fix/updatenotification/applist-error-handling.tar.gz
nextcloud-server-fix/updatenotification/applist-error-handling.zip
fix(updatenotification): Fix error handling when fetching applist for server updatefix/updatenotification/applist-error-handling
Signed-off-by: provokateurin <kate@provokateurin.de>
-rw-r--r--apps/updatenotification/src/components/UpdateNotification.vue4
1 files 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
})