aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-10-12 14:48:27 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2022-10-12 15:30:06 +0200
commit52c1dbfb0001624529114a388b639a674b4dbd60 (patch)
treee0a5a9e4c323f16428da46010f8f091014a1bc5e /apps/updatenotification
parentd936694cdbd600c802a4368166f25d2f802235f5 (diff)
downloadnextcloud-server-52c1dbfb0001624529114a388b639a674b4dbd60.tar.gz
nextcloud-server-52c1dbfb0001624529114a388b639a674b4dbd60.zip
fix reading updater token for web updater
the previously called endpoint returns exactly one value, no JSON structure Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/updatenotification')
-rw-r--r--apps/updatenotification/src/components/UpdateNotification.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/updatenotification/src/components/UpdateNotification.vue b/apps/updatenotification/src/components/UpdateNotification.vue
index 95a3927a7b7..d17ff69cbd1 100644
--- a/apps/updatenotification/src/components/UpdateNotification.vue
+++ b/apps/updatenotification/src/components/UpdateNotification.vue
@@ -406,7 +406,7 @@ export default {
const hiddenField = document.createElement('input')
hiddenField.setAttribute('type', 'hidden')
hiddenField.setAttribute('name', 'updater-secret-input')
- hiddenField.setAttribute('value', data.token)
+ hiddenField.setAttribute('value', data)
form.appendChild(hiddenField)