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>
This commit is contained in:
Arthur Schiwon 2022-10-12 14:48:27 +02:00 committed by backportbot-nextcloud[bot]
parent 8e89c281a5
commit 267f3896ae
3 changed files with 4 additions and 4 deletions

View file

@ -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)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long